You are on page 1of 2

(

SynthDef(\sin_syn, { | out, gate = 0, lowRand = 300 highRand = 3000 pulseRate = 10


mul = 0.5 stereo = 0 mix = 0.5 room = 0.5 |
var z;
z = Pan2.ar(
EnvGen.kr(Env.adsr(2), gate) * SinOsc.ar(TRand.kr(lowRand,
highRand, Pulse.kr(pulseRate)), mul), stereo, 0.3);
Out.ar(out, FreeVerb.ar(z, mix, room));
}).send(s);

SynthDef(\wigsaw, { | out, gate = 0, lowRand = 300 highRand = 3000 pulseRate = 10


mul = 0.5 stereo = 0 mix = 0.5 room = 0.5|
var z;
z = Pan2.ar(
EnvGen.kr(Env.adsr(2), gate) * Saw.ar(TRand.kr(lowRand,
highRand, Pulse.kr(pulseRate)), mul), stereo, 0.3);
Out.ar(out, FreeVerb.ar(z, mix, room));
}).send(s);
)

(
a = Synth(\sin_syn);
b = Synth(\wigsaw);
c = Synth(\sin_syn);
)

a.set(\gate, 1, \lowRand, 30, \highRand, 50, \mix, 1, \room, 1, \mul, 0.2);


a.set(\highRand, 75, \mix, 0.8);
a.set(\highRand, 100, \pulseRate, 8, \mul, 0.3);
a.set(\highRand, 120, \pulseRate, 12);

a.set(\gate, 0);
b.set(\gate, 1, \mix, 1, \room, 1, \mul, 0.1);
b.set(\mul, 0.2);
b.set(\mul, 0.3, \lowRand, 200);
b.set(\mul, 0.4, \lowRand, 140);

c.set (\gate, 1, \pulseRate, 10, \stereo, 1, \mix, 0.6, \lowRand, 150, \highRand, 650);
c.set (\gate, 0, \pulseRate, 20, \stereo, 0);
c.set (\gate, 1, \pulseRate, 10, \stereo, -1, \mix, 0.6, \lowRand, 150, \highRand, 650);
c.set (\gate, 0, \pulseRate, 35, \stereo, 1);
a.set(\gate, 1, \mul, 0.2);
a.set(\highRand, 175);

b.set(\mul, 0.5, \mix, 0.5, \stereo,1);


b.set(\mix, 1, \stereo, 0, \mul, 0.5, \lowRand, 100);
b.set(\gate, 1, \stereo, -1, \mix, 0.4);
a.set(\highRand, 200, \mul, 0.5, \pulseRate, 16);
b.set(\mix, 1, \stereo, 0, \mul, 0.6, \lowRand, 80);
b.set(\mul, 0.5, \mix, 0.5, \stereo,1);
b.set(\mix, 1, \stereo, 0, \mul, 0.5, \lowRand, 100);
b.set(\gate, 1, \stereo, -1, \mix, 0.4);
a.set(\highRand, 300, \mul, 0.6, \pulseRate, 10, \mix, 0.8);
b.set(\mix, 1, \stereo, 0, \mul, 0.6, \lowRand, 80);
c.set (\gate, 1, \pulseRate, 10, \stereo, 1, \mix, 0.8, \lowRand, 150, \highRand, 650);
b.set(\mul, 0.5, \mix, 0.5, \stereo,1, \highRand, 4500);
b.set(\mix, 1, \stereo, 0, \mul, 0.6, \lowRand, 80, \highRand, 5000);
c.set (\gate, 1, \pulseRate, 10, \stereo, -1, \mix, 0.6, \lowRand, 150, \highRand, 650);
c.set (\gate, 0, \pulseRate, 20, \stereo, 0);
a.set(\highRand, 600, \mul, 0.7, \mix, 0.6);
b.set(\mix, 1, \stereo, 0, \mul, 0.6, \lowRand, 80, \highRand, 8000);
c.set (\gate, 1, \pulseRate, 10, \stereo, 1, \mix, 0.5, \lowRand, 150, \highRand, 6500);

c.set(\gate, 0);
b.set(\gate, 0);

a.set(\mix, 0.8, \highRand, 300);

c.set (\gate, 1, \pulseRate, 5, \mix, 0.3);


b.set(\gate, 1, \pulseRate, 5, \mix, 0.3, \stereo, -1);
a.set(\pulseRate, 5, \mix, 0.3, \stereo, 1, \highRand, 600);

b.set(\mix, 1);

c.set(\mix, 1);

a.set(\lowRand, 30, \highRand, 200);

a.set(\mix, 1);

b.set(\lowRand, 300, \highRand, 10000);


c.set(\lowRand, 650, \highRand, 3000);
a.set(\pulseRate, 16);
b.set(\pulseRate, 16);
c.set(\pulseRate, 16);

a.set(\mix, 0.1); b.set(\mix, 0.1); c.set(\mix, 0.1);

c.set(\mix, 1, \mul, 0.9, \pulseRate, 10);


b.set(\mix, 1, \mul, 0.9, \pulseRate, 10);
a.set(\mix, 1, \mul, 0.9, \pulseRate, 10);

b.set(\gate, 0, \stereo, 0);


c.set(\gate, 0, \stereo, 0);

a.set(\highRand, 120, \pulseRate, 12);


a.set(\highRand, 100, \pulseRate, 8, \mul, 0.3);
a.set(\highRand, 75, \mix, 0.8);
a.set(\gate, 1, \lowRand, 30, \highRand, 50, \mix, 1, \room, 1, \mul, 0.2);
a.set(\gate, 0, \stereo, 0);

a.free;
b.free;
c.free;

You might also like