Rename morph.lib to morpho.lib in architecture.
[Faustine.git] / examples / fft / fft.dsp
1 import ( "../../architecture/fft.lib" ) ;
2 import ( "../../architecture/complex.lib" ) ;
3
4
5
6 //fft_test(n,m) = _ : overlap(n,m) <: picks(n) : real2complex(n) : fft(n) : stops(n/2), pcplx_moduls(n/2) : modules_vector(n/2);
7 //fft_test(n,m) = _ : overlap(n,m) : fft(n) : stops(n/2), pcplx_moduls(n/2) : nconcat(n/2);
8 fft_test(n,m) = vectorize(n) : fft(n) : pcplx_moduls(n) : nconcat(n);
9
10 //process = +, _ : + : fft_test(128,128);
11 process = fft_test(128,128) : serialize;
12 //process = (0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7) <: shuffle(8);
13
14
15
16
17
18