//ATARI DE LAS DROGAS

p=ProxySpace.push(s.boot)

~atari={Pan2.ar(AY.ar(~ton1.kr, ~ton2.kr, ~ton3.kr, ~noise.kr, ~noiscon.kr, ~vol1.kr, ~vol2.kr, ~vol3.kr, chiptype:0), ~pan.kr) * ~granos.kr}
~pan={SinOsc.kr(20, 0, 1)}
~ton1={LFNoise0.kr(0.25).range(0, 1365)}
~ton2={LFNoise0.kr(0.5).range(1366, 2730)}
~ton3={LFNoise.kr(0.25).range(2731, 4095)}
~vol1={LFNoise0.kr(0.25).range(0, 15)}
~vol2={LFNoise0.kr(0.25).range(0, 15)}
~vol3={LFNoise0.kr(0.25).range(0, 15)}
~noise={LFNoise0.kr(1).range(0, 31)}
~noiscon={SinOsc.kr(Mix([0.001, 0.01, 0.1])).range(0, 32)}
~granos={EnvGen.kr(Env.linen(0.1*0.05, 0.1*0.9, 0.1*0.05), Dust.kr(MouseX.kr(0.01, 30)))}
~atari.play