Refactoring of file beam.ml.
[Faustine.git] / dsp_files / vector-pattern.dsp
1 import ( "math.lib" ) ;
2 import ( "complex.lib" ) ;
3
4 even = case {
5 ((e, o, x)) => vectorize(e), vectorize(even(x)) : # ;
6 ((e,o)) => e;
7 };
8 odd = case {
9 ((e, o, x)) => vectorize(o), vectorize(odd(x)) : # ;
10 ((e,o)) => o;
11 };
12 eo = even, odd;
13
14 process = _ : vectorize(8) : eo : oneOutputStereoFile;
15
16 oneOutputStereoFile = serialize, serialize : vectorize(1), vectorize(1) : #;