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', {
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));
)