// 33.ck : sine // sine tones (fail-correct)SinOsc s => dac; [ 0, 2, 4, 7, 9 ] @=> int f[]; // time loopwhile( true ){ // choose freq Std.mtof( f[Math.random2( 0, 4 )] + 72 ) => s.freq; // advance time 100::ms => now;}// 33.ck : sine
// sine tones (fail-correct)
SinOsc s => dac;
[ 0, 2, 4, 7, 9 ] @=> int f[];
// time loop
while( true )
{
// choose freq
Std.mtof( f[Math.random2( 0, 4 )] + 72 ) => s.freq;
// advance time
100::ms => now;
}