-
... s Inherited class methods Undocumented class methods StkPluck. ar ( freq: 440 , decay: 0.99 , mul: 1.0 , add: 0.0 ) StkPluck. kr ( freq: 440 , decay: 0.99 , mul: 1.0 , add: 0.0 ) Instance Methods Inherited instance methods Help template Cop ...
-
... . impulseToNoise,fingerToDrum; impulseToNoise=mod1; fingerToDrum=mod2; finger = Decay2.ar( // create decay2 envelope, Impulse.ar(0, 1), // retriggered by an Impulse with 1 Hz and amp. 1. 0.001, 0.01, // attack time = 1 msec, decay time = 10 ...
-
... var env = EnvGen.kr(Env([amp, amp, 0], [sustain, 0.01]), doneAction: 2); var decay = freq ** -0.5 * 100; var string = CombL.ar(Decay2.ar(Impulse.ar(0), 0.0001, 0.001), 1/freq, 1/freq, decay); var damped = string; //LPF.ar(string, Lin ...
-
... o, winSize, pchRatio, pchDispersion, timeDispersion ) }, \qAllpassA,{ arg audio,decay=1,maxDelay=0.3,qnty=4,chanDiff=0.1; (qnty.asInteger).do({ var x; audio = AllpassL.ar(audio, maxDelay, [rrand(0.01,maxDelay),rrand(0.01,maxDelay)], decay) ...
-
... .ar(out, snd); }).add; SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 3, dampen = 0.1; var env, snd; env = Env.linen(0, decay, 0).kr(doneAction: 2); snd = Pluck.ar( in: WhiteNoise.ar(amp), trig: Impu ...
-
... Udef provides a 2-channel output. freq: pitch of the piano note. vel: velocity decay: decay time (0-1) hard: hardness of attack (0-1) muffle: amount of muffling (0-1) stereo: amount of stereo width (0-1) sustain: if on, the piano sustain p ...
-
... t, pluck, period, string; freq = freq * [0.99,1,2,0.98]; pluck = PinkNoise.ar(Decay.kr(Line.kr(1, 0, 0.05), 0.05)); period = freq.reciprocal; string = CombL.ar(pluck, period, period, 4); out = LeakDC.ar(LPF.ar(string, 12000)); out = S ...
-
... (krBus,trig); }).add; SynthDef("plucking", {arg amp = 1, freq = 440, decay = 5, coef = 0.1, krBus, outBus=0; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( ...
-
... nce methods Examples ( SynthDef(\echo, { |out = 0, maxdtime = 0.2, dtime = 0.2, decay = 2, gate = 1| var env, in; env = Linen.kr(gate, 0.05, 1, 0.1, 2); in = In.ar(out, 2); XOut.ar(out, env, CombL.ar(in * env, maxdtime, dtime, decay, 1, in) ...
-
... Udef provides a 2-channel output. freq: pitch of the piano note. vel: velocity decay: decay time (0-1) hard: hardness of attack (0-1) muffle: amount of muffling (0-1) stereo: amount of stereo width (0-1) sustain: if on, the piano sustain p ...