projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
[Faustine.git]
/
examples
/
fft
/
sinsum.dsp
diff --git
a/examples/fft/sinsum.dsp
b/examples/fft/sinsum.dsp
index
0ee1d5b
..
3299928
100644
(file)
--- a/
examples/fft/sinsum.dsp
+++ b/
examples/fft/sinsum.dsp
@@
-1
+1,6
@@
-process = +, + : +;
+import("math.lib");
+import("music.lib");
+samplerate = 44100;
+process = (sinwave(1378) + sinwave(2067)) , (sinwave(16536) + sinwave(22000)) : + : /(4) ;
+sinwave(f) = time*(2.0*PI)*f/samplerate : sin;
+