*** empty log message ***
[chuck-blob.git] / v2 / examples / stk / modulate.ck
blob9868d17f51153ec5885e1fcb36c1cbbe21368647
1 // patch into gain
2 SinOsc s => Gain g => dac;
3 Modulate mod => g;
5 // multiply
6 3 => g.op;
8 // set freq
9 220 => s.freq;
11 // set rate in hz
12 mod.vibratoRate( 6.0 );
13 // set gain
14 mod.vibratoGain( .2 );
15 // set random gain
16 mod.randomGain( .1 );
18 // infinite time loop
19 while( true )
21     10::second => now;