s.boot

p=ProxySpace.push(s)

~out
~out.play

~unch={Decay2.ar(Impulse.ar(Line.kr(40,rrand(10,30),0.2)),0.01,0.1,RHPF.ar(Mix(Saw.ar([rrand(100,300),LFNoise0.kr(100,200,rrand(1000,3000))]),Line.kr(20,rrand(100,10000),0.002),0.1)))};
~unch2={Decay2.ar(Impulse.ar(Line.kr(40,rrand(10,30),0.2)),0.01,0.1,RHPF.ar(Mix(Saw.ar([rrand(100,300),70]),Line.kr(20,rrand(100,10000),0.002),0.1)))}

~pum={arg t_trig=1;EnvGen.kr(Env.perc(0.01,1),t_trig,doneAction:2)*RHPF.ar(WhiteNoise.ar,[XLine.kr(rrand(3000,1500),100,0.4),XLine.kr(20,rrand(3000,1500),0.1)].choose,0.01,0.125)}
~grito={var bufh=Buffer.read(s,"sounds/hostilidades.aiff"); PlayBuf.ar(1,bufh.bufnum,1,Dust.kr(MouseY.kr(200,0.1)),MouseX.kr(0,2654208),1)}

(
Tdef(\puma, {
			inf.do{~pum={arg t_trig=1;EnvGen.kr(Env.perc(0.01,1),t_trig,doneAction:2)*RHPF.ar(WhiteNoise.ar,[XLine.kr(rrand(3000,1500),100,0.4),XLine.kr(20,rrand(3000,1500),0.1)].choose,0.01,0.125)};
			~onda={SinOsc.ar(rrand(10,200),0,LFNoise0.kr(150,0.5,0.5))};
			rrand(0.01,2).wait;
			}
			})
)
			       
Tdef(\puma).play

~onda={SinOsc.ar(rrand(50,200),0,LFNoise0.kr(150,0.5,0.5))}

~out=~unch
~out=~unch+~unch2
~out=~grito
~out=~pum

~out=~pum+~onda
~out=~onda+~grito+~pum

~out=~onda

~out=~onda+~grito
~out=~unch+~unch2+~pum

~out=~unch+~unch2+~pum+~onda+~grito

~out=0