void play(double *output) {//this is where the magic happens. Very slow magic. temp=beats.play(1.,0,beats.length()); filtered=beat.play(1.); //now we send the sounds to some stereo busses. // mymix.stereo(more+mixed+delayed, outputs, 1-pan); bobbins.stereo(temp+filtered, moreoutputs, 0.5);//invert the pan //mixing output[0]=moreoutputs[0];//stick it in the out!! output[1]=moreoutputs[1]; }