// our UGen patch StifKarp deadfish => JCRev r => dac; // set reverb params .1 => r.mix; // infinite time loop while( true ) { // choose pitch (in wholetone increments) // (TRY: modify range) // (TRY: microtonal stuff; use rand2f) Std.rand2( 24, 36 )*2 => Std.mtof => deadfish.freq; // sound the note, passing in velocity Std.rand2f( .5, .8 ) => deadfish.noteOn; // IMPORTANT: advance time // (TRY: modify increment) // (TRY: use random increment) 500::ms => now; }