played around a bit, kickdrum should be better now.

This commit is contained in:
Thelie 2022-01-30 23:34:32 +01:00
parent 7c8461b384
commit 27b1056897

View file

@ -12,9 +12,9 @@ s.doWhenBooted({ "remote tcp server started".postln; s.notify; s.initTree });
( (
SynthDef('kickdrum', { 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)}; env = {Line.ar(1, 0, 1, doneAction: 2)};
output = osc * env; output = osc * env;
@ -70,13 +70,13 @@ Ppar([
dur: Pseq(durations, inf), dur: Pseq(durations, inf),
bend: Pfuncn({ |x| if(x < (1/2), 0.4, 1) }, inf) <> Pkey(\dur), bend: Pfuncn({ |x| if(x < (1/2), 0.4, 1) }, inf) <> Pkey(\dur),
]), ]),
/* Pbind(*[ Pbind(*[
instrument: \hoover, instrument: \hoover,
amp: -20.dbamp, amp: -20.dbamp,
midinote: 74, midinote: 74,
dur: durations.sum * 2, dur: durations.sum * 2,
sustain: 7, sustain: 7,
]) */ ])
]).play(TempoClock(260 / 60)); ]).play(TempoClock(260 / 60));
) )