-
... ragments, { |out, bufnum, start, time = 1, stretch = 1, amp = 1, attack = 0.01, decay = 0.05| var sig = PlayBuf.ar(1, bufnum, rate: stretch.reciprocal, startPos: start), eg; sig = PitchShift.ar(sig, pitchRatio: stretch); eg = EnvGen.kr(Env. ...
-
... long time. ( Instr(\beatClockPlayerTest,{ arg gate=0.0; var a,t; t = gate; a = Decay2.kr(t,0.01,0.1).clip2(1.0); a * SinOsc.ar(300); },[ \gate ]); p=Patch.new(\beatClockPlayerTest, [ BeatClockPlayer(16) // trig / gate ]); p.play; ) Tempo.b ...
-
... ompA.ar(Line.ar(0, 20000, 1)) }.plot(1.0); // compare with AmpComp (exponential decay) { AmpComp.ar(Line.ar(48, 120, 1).midicps, 48.midicps) }.plot(1.0); // freqs: { AmpComp.ar(Line.ar(40, 20000, 1), 40) }.plot(1.0); // amplitude compensati ...
-
... 2.4; rate = rate * sc.size.reciprocal; z = sc.collect { |u, i| var f, in; in = Decay.ar( Mix(Impulse.ar(rate, [1.0, LFNoise0.kr(rate / 12)].rand, 0.1)), 0.001 ); in = Ringz.ar(in, Array.fill(4, { |i| (i+1) + 0.1.rand2 }) / 2 * Decay.ar(in, ...
-
... assed in: // caution: mind the feedback. AudioIn ( Instr(\qAllpassA,{ arg audio,decay=1,maxDelay=0.3,quantity=4,chanDiff=0.1; // this is wrapping the sound in layers of Allpass delays (quantity.asInteger).do({ var x; audio = AllpassL.ar(aud ...
-
... the second argument. Class Methods . new Arguments: deltime Delay time. dectime Decay time. Inherited class methods Instance Methods Inherited instance methods Examples ~buf = BBCutBuffer(Platform.resourceDir +/+ "sounds/break.aiff", 8); BB ...
-
... th parallel control. ( SynthDef(\echo, { |out = 0, maxdtime = 0.2, dtime = 0.2, decay = 2, gate = 1| var env, in; env = Linen.kr(gate, 0.05, 1, 5, 2); in = In.ar(out, 2); XOut.ar(out, env, CombL.ar(in * env, maxdtime, Lag.kr(dtime, 4), deca ...
-
... t phase only a.set(\freq, 2) a.free a= {|freq= 2, t_reset= 0| SinOsc.ar(400, 0, Decay.kr(RedImpulse.kr(freq, t_reset)))}.play(fadeTime:0) a.set(\freq, 1) //change frequency a.set(\freq, 1, \t_reset, 1) //change frequency and reset phase a.s ...
-
... See also: EaseOverview Description Easing equation for a bounce (exponentially decaying parabolic bounce) ease-out, decelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot. Use value , *va ...
-
... See also: EaseOverview Description Easing equation for a bounce (exponentially decaying parabolic bounce) ease-in, accelerating from zero velocity. The a parameter controls overshoot, the default producing a 10% overshoot. Use value , *val ...