// patch Wurley w => dac; // params 200::ms => dur Q; 48 => int pitch_offset; // "score" [0, 2, 4, 6, 7, 8+12] @=> int pitch[]; [.9, .4, .9, .4, .7, .9] @=> float vels[]; [ Q, Q, Q*2, Q, 2*Q, 3*Q ] @=> dur durs[]; // go! 0 => int i; while( true ) { // set freq pitch_offset + pitch[i] => Std.mtof => w.freq; // note on vels[i] => w.noteOn; // advance time durs[i] => now; // increment i (i+1) % pitch.size() => i; }