1 // 43.ck : midi event (fail-correct)
3 sinosc s => DelayL z => dac;
8 0.0::second => z.delay;
9 //0.02::second => z.max => z.delay;
11 // open - see 'chuck --probe'
15 // inifinite time loop
21 // there should be one or more msg if we get here
22 while( min.recv( msg ) )
24 // print out some data
26 if( msg.data1 == 144 ) // note on
29 0.75 * std.mtof(msg.data2) => s.freq;
30 msg.data3 / 128.0 => s.gain;