1
0
Fork 0

fix the last composition

main
Luka Prinčič 2 years ago
parent f4d27f14fc
commit a6afe63dbe
  1. 77
      2020-11-18_kick-comb-dark-saw.scd

@ -113,15 +113,19 @@ SynthDef.new(\sc808hh, {
Out.ar(out, sig);
}).add;
//s.sync; // ?
// fx buses
~delay1 = Bus.audio(s, 2);
~delay2 = Bus.audio(s,2);
/////////////////////////////////////////////////////////////////////
// timeline of events
r = Routine {
1.wait;
// delays
~dlywrang1 = Synth(\dlywrangler, [\out, 0, \in, ~delay1]);
~widel1 = Synth(\wiDel, [\in, ~delay2, \out, 0]);
@ -138,8 +142,7 @@ r = Routine {
]
).play;
);
3.wait;
7.wait;
( // snare
Pbindef(\snp1,
@ -151,8 +154,7 @@ r = Routine {
]
).play;
);
3.wait;
7.wait;
( // highhat
Pbindef(\hhp1,
@ -166,7 +168,7 @@ r = Routine {
).play;
);
10.wait;
21.wait;
( // dark saw
Pbindef(\sawp1,
@ -184,7 +186,7 @@ r = Routine {
).play;
);
90.wait;
77.wait;
Pbindef(\hhp1).stop;
@ -209,64 +211,3 @@ r = Routine {
);
(
// delays
~dlywrang1 = Synth(\dlywrangler, [\out, 0, \in, ~delay1]);
~widel1 = Synth(\wiDel, [\in, ~delay2, \out, 0]);
)
( // kicker
Pbindef(\x99,
* [
instrument: \tribd,
octave:3,
degree: Prand([1,2,3]/10,inf),
dur: Pseq([3,2,Prand([2,3]),3,2,2]/8, inf),
amp: 0.2
]
).play
)
( // highhat
Pbindef(\hhp1,
* [
instrument: \sc808hh,
dur: 1/8,
amp: Prand([1,2,3]/7, inf),
out: Pwrand([~delay1,0],[0.7,0.3],inf),
pan: Pfunc({rrand(-0.6,0.6)})
]
).play
)
( // snare
Pbindef(\snp1,
*[
instrument: \sc808sn,
dur: Pseq([Rest(1),Pxrand([1,1.5,0.5,Pn(0.5,4),Pn(0.25,2),Pn(0.25,2),Pn(0.25,2)])]/2,inf),
amp: Prand([1,2,3]*0.05+0.2,inf),
out: Prand([0,~delay1],inf)
]
).play
)
( // dark saw
Pbindef(\sawp1,
*[
instrument: \softSaw,
dur: 10,
attackTime: 5,
releaseTime:5,
legato:1,
degree: Pseq([ [-2,3,11,20], [-2,5,7,21] ],inf),
octave: 3,
amp: [1,0.5,0.2,0.1] * 0.2,
out: ~delay2
]
).play
)

Loading…
Cancel
Save