lunes, 12 de septiembre de 2016

SEMIMUTICAS #CadaDiaUnSinte Synth03


(
//Hear it with headphones
SynthDef(\synth03, {|gate 1|
var sen1, sen2, env;
sen1 = SinOsc.ar(LFNoise2.kr(0.33).range(200,400), LFNoise2.kr(0.3).range(0, 2*pi), 0.5);
sen2 = SinOsc.ar(LFNoise2.kr(0.34).range(200,400), LFNoise2.kr(0.29).range(0, 2*pi), 0.5);
env = EnvGen.kr(Env.asr(0.1, 1.0, 0.1), gate, doneAction:2);
Out.ar(0, sen1*env);
Out.ar(1, sen2*env);
}).add;
)
a=Synth(\synth03);
a.set(\gate, 0);


No hay comentarios:

Publicar un comentario