diff --git a/default.sc b/default.sc index 6276b24..0480a91 100644 --- a/default.sc +++ b/default.sc @@ -12,9 +12,9 @@ s.doWhenBooted({ "remote tcp server started".postln; s.notify; s.initTree }); ( SynthDef('kickdrum', { - var osc, dec, output, clickosc, clickdec; + var osc, env, output; - osc = Decay.ar(Impulse.ar(XLine.kr(1,50,20), 0.25), 0.2, PinkNoise.ar, 0) + osc = {Decay.ar(Impulse.ar(XLine.kr(1,50,20), 0.25), 0.2, PinkNoise.ar, 0)}; env = {Line.ar(1, 0, 1, doneAction: 2)}; output = osc * env; @@ -70,13 +70,13 @@ Ppar([ dur: Pseq(durations, inf), bend: Pfuncn({ |x| if(x < (1/2), 0.4, 1) }, inf) <> Pkey(\dur), ]), - /* Pbind(*[ + Pbind(*[ instrument: \hoover, amp: -20.dbamp, midinote: 74, dur: durations.sum * 2, sustain: 7, - ]) */ + ]) ]).play(TempoClock(260 / 60)); )