1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
declare version "2.77.2";
declare compile_options "-single -scal ../../build/bin/faust -I dsp -e dsp/waveform2.dsp -o reference/waveform2.box";
declare filename "waveform2.dsp";
declare name "waveform2";
ID_0 = waveform{10,20,30,40,50,60,70};
ID_1 = _, 7;
ID_2 = (ID_1 : %);
ID_3 = _, 3;
ID_4 = (ID_3 : +);
ID_5 = ID_2 ~ ID_4;
ID_6 = 0, _;
ID_7 = ID_6 : max;
ID_8 = 6, _;
ID_9 = ID_8 : min;
ID_10 = ID_7 : ID_9;
ID_11 = (ID_5 : ID_10);
ID_12 = ID_0, ID_11;
ID_13 = ID_12 : rdtable;
process = ID_13;
|