-
... "++(i+1), {|out= 0, rate= 1, atk= 0, rel= 0, loop= 1, amp= 1, buf, gate= 1| var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2); var src= PlayBuf.ar(i+1, buf, rate*BufRateScale.ir(buf), 1, 0, loop); Out.ar(out, src*env*amp); }).add ...
-
... cher and pitchshifter. WarpIn.ar(in, buffer, warpFactor, freqScale, windowSize, envbufnum, overlaps, windowRandRatio, interp, mul, add) in - input - make sure the number of channels is the same as those allocated in the buffer buffer - the ...
-
... t create a scope (namespace) for enclosed streams Source: Plambda.sc See also: Penvir , Pkey Plambda is used to create a namespace for patterns to share data among each other. Used in combination with Plet and Pget , it allows you to get th ...
-
... ing render . The makeFunction "makes" the protoEvent (i.e. protoEvent is currentEnvironment ). Typically, it defines and yields a sequence of events that create the needed resources using the following Event types : \allocRead load a file f ...
-
... amples: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pfunc({ exprand(0.1, ...
-
... example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Pbeta (0.0, 1.0, 0.1, 0.1, in ...
-
... (RLPF.ar( PlayBuf.ar(1,1,0.5,Impulse.kr(Rand(10,100)),BufRateScale.kr(1)/2,1) * EnvGen.kr(Env.new([0,1,0],[temp/2,temp/2]), Impulse.kr(1/temp)) ,Rand(5000,15000),Rand(0.001,1.0)) ,Rand(8000,15000),0.001)) * EnvGen.kr(Env.new([0,0.5,1,0.5,0] ...
-
... SynthDef(\drone, { | out,freq, dur, amp, pan, width | var env = EnvGen.kr(Env.new([0, 1, 1, 0], [1.0, dur, 3.0]), doneAction:Done.freeSelf); var sig = Array.fill(20, { var multiplier = [ ...
-
... erminal ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( a = Pfsm([ #[0, 1], 67, #[0, 0, ...
-
proxy space examples Overview: JITLib see also: ProxySpace preparing the environment ( s.boot; p = ProxySpace .push(s); ) playing and monitoring // play some output to the hardware busses, this could be any audio rate key. ~out.play; ~out = ...