Diff from Kalimba by snappizz (21 Apr'16 19:45) to Re: Kalimba by p.dupuis (21 Apr'16 21:37)

name
Re: Kalimba
description
Here is a slightly thinneer sounding vedrsion of snappizz's kalimba souSyndthDef. soI iadded bufiltering one withe SinOsc +and DyonKla the PinkNoise. feedbackIMO ait sounds impbetterov if the menix stays are welcome :)w.
code
( SynthDef(\kalimba, { |out = 0, freq = 440, amp = 0.1, mix = 0.1| var snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.0053, Rand(23.50, 34.50), 1, -87), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380), 120); // The "clicking" sounds are modeled with a bank of resonators excited by enveloped pwhinkte noise click snd = (snd * (1 - mix)) + (DynKlank.ar(`[ // the resonant frequencies are randomized a little to add variation // there are two high resonant freqs and one quiet "bass" freq to give it some depth [240*ExpRand(0.97, 1.102), 2020*ExpRand(0.97, 1.102), 3151*ExpRand(0.97, 1.102)], [-79, 0, 3-5].dbamp, [0.8, 0.057, 0.078] ], BPF.ar(PinkNoise.ar, 6500, 0.1) * EnvGen.ar(Env.perc(0.001, 0.01))) * 0.1; snd = (snd*mix) + (click*(1-mix)); snd = Mix( snd ); Out.ar(out, Pan2.ar(snd, 0, amp)); }).add; ) ( Pbind( \instrument, \kalimba, \dur, Pseq([0.3, 0.15], inf), \stretch, 1.3, \amp, 0.15*(2**Pgauss(0, 0.1)), \mix, Pwhite(0.05, 0.15), \degree, Pseq([0, -3, [1, 4], 2, Rest, 1, -3, -2, -4, -2, [0, 5], 1, Rest, 0, -2, Rest], inf) ).play; )
category tags
code fork, instrument, pluck, kalimba, plucked
ancestors
1-51l