-
... r env1, env2, son, pitch; pitch = freq.cpsmidi; pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate); env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0.04], [0, -4, -4], 2), gate, amp); env2 = EnvGen.ar(Env.adsr(0.001, 0.8, 0 ...
-
... PlayBuf.ar( numChannels: numChannels, bufnum: bufnum, rate: rateFX, trigger: \trig.tr(1), loop: 1 ); snd = LPF.ar(HPF.ar(snd, \hpFreq.kr(10)), \lpFreq.kr(10000)); }); ); Ndef(\freezePlayer).set(\bufnum, q.audioBuff ...
-
... yspace: proxyspace, midinote: num, amp: vel / 127.0, skipArgs: #[pan], gt: 1, t_trig: 1, sustain: inf).play; this.changed(\noteOn, num, vel); } noteOff { |num, vel| notes.remove(num); if(notes.size > 0) { (type: \psSet, proxyspace: proxyspa ...
-
... r can suddenly become louder and other controls than amp (e.g. buffer position, trigger rate, bandpass parameters) can cause a raise of amplitude too. I haven't used below setups for live performances. Although all of them work stable for m ...
-
... ion: 2) * LFNoise1.ar(10).range(0.98, 1.02); var a, b; var out; var trig; trig = Impulse.ar(1, i/8); #a, b = Pan2.ar( SinOsc.ar(freq, 0, XLine.kr(10, 1, 10)).tanh * EnvGen.ar(Env.perc(0.001, rrand(0.1, 0.5)), gate: ...
-
... aps=10, windowRandRatio = 0.1, preLevel = 0, interp = 1, mul=1, add=0; var out, trig, grainrate, start, pointer, record; record = RecordBuf.ar(in, buffer, preLevel: preLevel, loop: 0); out = Warp0.ar(in.asArray.size, buffer, warpFactor, fre ...
-
... (bufnum), releaseNode: 4, loopNode: 2, curve: 0 ), gate: Trig.ar(1, (lStart + (((2 * nLoop) + 1) * lWidth))*BufDur.ir(bufnum)), doneAction: Done.freeSelf ); sig = BufRd.ar(1, bufnum, envGen, 0); Out.ar(ou ...
-
... ).range(0,330)], nil, [1, 1, 0.5, 1]], PinkNoise.ar(0.007)), TRand.kr(-1, 1, trig: Pulse.ar(10)) ) }.play; )
-
... ment names. In a SynthDef, argument names can have the prefix t_ to indicate a "trigger control," or i_ for an "initial rate" control (meaning that it holds the value set when the Synth is first played). This is described in SynthDef help. ...
-
... UGenPatterns Description Based on Latch Class Methods . new Arguments: pattern trig Inherited class methods Instance Methods Inherited instance methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PLatch(Pseq([0, 2, 4, 5], ...