// stereo chorus (by hand) SndBuf s => dac; s => Delay d1 => dac.left; s => Delay d2 => dac.right; // max 3000::samp => d1.max; 3000::samp => d2.max; // load (reminder: check file path) "TomVega.wav" => s.read; 1 => s.loop; 3.0 => s.gain; 1024 => s.chunks; // infinite loop while( true ) { // modulate the delay lengths (1200 + (577.0 * Math.sin(2*pi*1.07*(now/second))))::samp => d1.delay; (1200 + (891.0 * Math.sin(2*pi*1.21*(now/second))))::samp => d2.delay; // advance time 1::samp => now; }