Debian Codegraph @

examples/deep/plu2.ck

raw
1 // plucked string filter, different excitation
2 // Ge Wang ([email protected])
3
4 // feedforward
5 SndBuf buffy => PoleZero block => OneZero lowpass => dac;
6 // feedback
7 lowpass => Delay delay => lowpass;
8
9 // our radius
10 .99999 => float R;
11 // our delay order
12 250 => float L;
13 // set delay
14 L::samp => delay.delay;
15 // set dissipation factor
16 Math.pow( R, L ) => delay.gain;
17 // take out DC and neighborhood
18 .999 => block.blockZero;
19 // place zero
20 -1 => lowpass.zero;
21
22 // fire excitation (try other sounds too)
23 "special:mand1" => buffy.read;
24
25 // advance time
26 (Math.log(.0001) / Math.log(R))::samp => now;