p=ProxySpace.push(s.boot)

p.fadeTime=2

b=Buffer.read(s, "sounds/wav 1.wav")

b.bufnum

c=Buffer.alloc(s, 44100 * 5, 1);

c.bufnum

~rec={RecordBuf.ar(SoundIn.ar(0,1),c.bufnum)}

~play={PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(1),1,Drand([-1,-2,0.5,-0.5,1,2],inf)), Pulse.kr(Demand.kr(Impulse.kr(1),1,Drand([1,2,4,0.2,0.5],inf))), b.numFrames/Demand.ar(Impulse.ar(1),1,Drand([100,200,300,400,2,3,4,5,6,7,8,9,10],inf)), 1, 2)}

~play2={PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(2),1,Drand([0.5,0.2],inf)), Pulse.kr(Demand.kr(Impulse.kr(1),1,Drand([1,2,4,0.2,0.5],inf))), b.numFrames/Demand.ar(Impulse.ar(1),1,Drand([100,200,300,400,2,3,4,5,6,7,8,9,10],inf)), 1, 2)}

~play3={PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(2),1,Drand([0.5,0.2],inf)), Pulse.kr(4), b.numFrames/Demand.ar(Impulse.ar(7/8),1,Drand([100,200,300,400,2,3,4,5,6,7,8,9,10],inf)), 1, 2)}

~play={(PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(2),1,Drand([-1,-2,0.5,-0.5,1,2],inf)), Pulse.kr(2), b.numFrames/2.2, 1, 2))*SinOsc.kr(3,0,0.5,0.45)};

~play4={(PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(6),1,Drand([0.5,0.2,1],inf)), Pulse.kr(8), b.numFrames/10.25, 1, 2)*SinOsc.kr(0.5,0,0.5,0.45))};

~play3={(PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(8),1,Drand([0.5,0.2,1],inf)), Pulse.kr(Demand.ar(Impulse.ar(1),1,Drand([2,4,6],inf))), b.numFrames/7, 1, 2))*Pulse.kr(8)}

~play4={PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(5),1,Drand([0.5,0.2,1],inf)), Pulse.kr(8), b.numFrames/10, 1, 2)}

~play4={PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(5),1,Drand([0.5,0.2,1],inf)), Pulse.kr(8), b.numFrames/10, 1, 2)}

~play5={PlayBuf.ar(b.numChannels, b.bufnum , Demand.ar(Impulse.ar(1),1,Drand([-1,-2,0.5,-0.5,1,2],inf)), Pulse.kr(1), b.numFrames/10+MouseX.kr(0,50), 1, 2)}

~sale.play

~sale=~play

~sale=0

~sale=~play*0.6+~play4+~play3

+~play2*0.5+~play3*0.6+~play4+~play5*0.4 