SndBuf s => dac; // Connect a sound buffer to the dac "homer8.wav" => s.read; // read a wave file into it while (1) { Std.rand2f(0.1,0.4) :: second => now; // wait a random time Std.rand2f(0.8,1.3) => s.rate; // set a random playback rate 0 => s.pos; // retrigger the soundfile <<< "DOPE!!", now >>>; // print out some stuff }