p= ProxySpace.push(s.boot)

//trying out ugens i seldom use
~cat.ar(2)
~cat= {Klank.ar(`[[400, 500, 600], [0.4, 0.3, 0.2], [1, 2, 3]], Dust.ar(1, 0.1))}
~cat.play
~cat= {Pan2.ar(Klank.ar(`[[400, 500, 600], [0.3, 0.2, 0.1], [1, 2, 3]], Decay.ar(Dust.ar(1), 1, 0.1)))}
~cat[2]= \filter -> {|in| in+CombN.ar(in, 1, 1)}
~cat[2]= \filter -> {|in| in+CombN.ar(in, 0.5, 0.5, 2, 1)}
~cat[2]= \filter -> {|in| in+CombN.ar(RLPF.ar(in, 1000, 0.3), 0.5, 0.5, 2, 1, 0.2)}

~dog.ar(2)
~dog= {Pan2.ar(Klang.ar(`[[450, 550, 650], [0.4, 0.3, 0.2], nil]))}
~dog.play
~dog.stop
~dog= {Pan2.ar(Klang.ar(`[[450, 550, 650], [0.3, 0.2, 0.1], nil])*Decay.ar(Dust.ar(1), 1, 0.1))}
~dog.play
~dog[2]= \filter -> {|in| in+CombN.ar(RLPF.ar(in, 1100, 0.3), 0.5, 0.5, 2, 1, 0.3)}

b= Buffer.alloc(s, 1024, 1)
~ber= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(0.5, 0, 5, 100), 0, 0.1))}
~ber.play

b.sine1(1/[1, 2, 3, 4, 5, 6], true, true, true)
b.plot

~ber= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(0.5, 0, 5, 100), 0, 0.1)*Decay.ar(Impulse.ar(2), 1, 0.4))}
b.sine1(1/[1, 2, 3, 4], true, true, true)
b.sine1(1/[1, 2, 3, 4, 10, 11, 12], true, true, true)
b.sine1(1/[1, 2, 3, 4, 20, 21, 22], true, true, true)

~gnu= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(1.5, 0, 5, 200), 0, 0.1)*Decay.ar(Impulse.ar(4), 1, 0.4))}
~gnu.play
~gnu= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(0.75, 0, 5, 200), 0, 0.1)*Decay.ar(Impulse.ar(3), 1, 0.3))}
~gnu= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(100, 0, 25, 200), 0, 0.1)*Decay.ar(Impulse.ar(3), 1, 0.3))}
~gnu= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(SinOsc.kr(0.25, 0, 100, 100), 0, SinOsc.kr(0.25/3, 0, 25, 25), 200), 0, 0.1)*Decay.ar(Impulse.ar(3), 1, 0.3))}
~gnu= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(LFPar.kr(0.25, 0, 100, 100), 0, LFPar.kr(0.25/3, 0, 25, 25), 200), 0, 0.1)*Decay.ar(Impulse.ar(3), 1, 0.3))}

~dog[2]= \filter -> {|in| in+CombN.ar(RLPF.ar(in, 550, 0.2), 0.5, 0.5, 2, 1, 0.3)}

~ber= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(0.5, 0, LFPar.kr(0.25, 0, 1, 5), 100), 0, 0.1)*Decay.ar(Impulse.ar(2), 1, 0.4))}

b.sine1(1/[2, 3, 4, 20, 21, 22], true, true, true)
b.sine1(1/[0.5, 2, 3, 4, 20, 40], true, true, true)

~cat.release(10)

~ape.ar(2)
~ape= {Pan2.ar(VarSaw.ar(LFNoise0.kr(4, 100, 400).round(100), 0, LFPar.kr(0.25, 0.5, 0.5), 0.01))}
~ape.play
~ape= {Pan2.ar(VarSaw.ar(LFNoise0.kr(4, 100, 400).round(100), 0, LFPar.kr(0.125, 0.5, 0.5), Decay.ar(Impulse.ar(0.5, 0, 0.02), 2)))}
~ape[2]= \filter -> {|in| in+CombN.ar(LPF.ar(in, 1000), 0.75, 0.75, 2, 1, 0.3)}
~ape[2]= \filter -> {|in| in+CombN.ar(LPF.ar(in, 1000), 2/3, 2/3, 2, 1, 0.3)}
~ape[2]= \filter -> {|in| in+CombN.ar(BPF.ar(in, 1000), 2/3, 2/3, 5, 2, 0.3)}

~dog.release(20)
~cat= {Pan2.ar(Klank.ar(`[[400, 500, 600], [0.3, 0.2, 0.1], [1, 2, 3]], Decay.ar(Impulse.ar(1), 1, 0.01)))}

b.sine1(1/[0.25, 0.5, 3, 4, 20, 40], true, true, true)

~ape[2]= \filter -> {|in| in+CombN.ar(BPF.ar(in, 1000), 2/3, 2/3, 2, 4, 0.3)}

~emu.ar(2)
~emu= {Pan2.ar(Formant.ar(LFPar.kr(0.25, 0, 100, 300), LFPar.kr(1/3, 0, 1000, 3000), 800, 0.1))}
~emu.play
~emu.stop
~emu= {Pan2.ar(Formant.ar(LFPar.kr(0.125, 0, 100, 300).round(50), LFPar.kr(1/3, 0, 1000, 3000), 800, 0.01))}
~emu.play
~emu= {Pan2.ar(Formant.ar(LFPar.kr(0.125, 0, 100, 300).round(50), LFPar.kr(1/3, 0, 100, 400), 800, 0.01))}

~ape.release(20)
~ber.release(20)

~duc.ar(2)
~duc= {Pan2.ar(Ringz.ar(Impulse.ar(LFPar.kr(0.25, 0)>0.5*0.5+1, 0, 0.01)))}
~duc.play
~duc= {Pan2.ar(Ringz.ar(Impulse.ar(LFPar.kr(0.25, 0)>0.5*0.5+1, 0, 0.05)))}
~duc= {Pan2.ar(Ringz.ar(Impulse.ar(LFPar.kr(0.25, 0)>0.5*0.5+1, 0, 0.05), LFPar.kr(3, 0, 200, 400)))}
~duc[2]= \filter -> {|in| in+CombN.ar(RHPF.ar(in, 900, 0.1), 1/3, 1/3, 3, 1, 0.1)}

~emu.release(20)
~cat.release(20)
~gnu.release(20)

~dog= {Pan2.ar(Klang.ar(`[[450, 550, 650], [0.3, 0.2, 0.1], nil])*Decay.ar(Dust.ar(1), 1, 0.1))}
~dog= {Pan2.ar(Klang.ar(`[[450, 550, 650]+100, [0.3, 0.2, 0.1], nil])*Decay.ar(Dust.ar(1), 1, 0.1))}
~dog= {Pan2.ar(Klang.ar(`[[450, 550, 650], [0.3, 0.2, 0.1], nil])*Decay.ar(Dust.ar(1), 1, 0.1))}

~ber= {Pan2.ar(Osc.ar(b.bufnum, SinOsc.ar(0.5, 0, LFPar.kr(0.25, 0, 1, 5), 50), 0, 0.1)*Decay.ar(Impulse.ar(2), 1, 0.4))}
~duc.release(20)

~emu= {Pan2.ar(Formant.ar(LFTri.kr(1, 0, 50, 100).round(50), LFPar.kr(1/3, 0, 100, 400), 800, 0.01))}

~cat= {Pan2.ar(Klank.ar(`[[80, 200, 400], [0.3, 0.2, 0.1], [1, 2, 3]], Decay.ar(Impulse.ar(2, 0, LFPar.kr(0.125, 0, 0.2, 0.2)), 1, 0.01)))}

~duc= {Pan2.ar(Ringz.ar(Decay.ar(Impulse.ar(30, 0.2, 0.01), 0.01)*WhiteNoise.ar(0.1), LFPar.ar(1/3, 0, 55, 500).round(100)))}

~duc= {Pan2.ar(Ringz.ar(Decay.ar(Impulse.ar(LFNoise0.kr(0.2, 10, 30), 0.2, 0.01), 0.01)*WhiteNoise.ar(0.1), LFPar.ar(1/3, 0, 55, 500).round(100)))}

~duc.release(20)
~cat.stop
~emu.stop
~ber.release(5)
~dog.stop

//awful

p.clear
p.pop