-
... te // an \env parameter: var env = Env.newClear(8); // This is the maxSize! var envGen = EnvGen.kr( \env.kr(env.asArray), doneAction: Done.freeSelf ); snd = SinOsc.ar(freq, mul: amp); // Apply the enveloppe control snd = snd * envGen; Out.a ...
-
... UGen : AbstractFunction : Object When triggered, pause enclosing synth. Source: EnvGen.sc See also: FreeSelf Description Pause enclosing synth when input signal crosses from non-positive to positive. Class Methods PauseSelf. kr ( in ) Argum ...
-
... , y=4, z=2.5, o=0| [ x, y, z, o] }; // adding sources to the scene ( ~noisy = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * PinkNoise.ar(1) }; ~sinus = { EnvGen.kr(Env.adsr, Impulse.kr(3)) * SinOsc.ar(440,0.8) }; ~dust = { Dust.ar(400) }; ) v.addS ...
-
... up. // Note what happens when full. x = { var source; source = LFCub.kr(10, 0, EnvGen.kr(Env.linen(1, 2, 1), doneAction:2)); Logger.kr(source, Impulse.kr(49), b.bufnum); }.play(s); ) x.free; b.plot; b = Buffer.alloc(s, 100, 3); ( // The sa ...
-
... var amp; amp = Latch.kr(gate,gate); RLPF.ar( Pulse.ar(freq,width), ffreq, rq) * EnvGen.kr(Env.adsr,gate,amp) }); Patch(\monosynth,[ MIDIGatePlayer.new, MIDIFreqPlayer.new ]).gui ) ⧉ ✔ Class Methods . new Arguments: spec Inherited class meth ...
-
... 0, clipHi = 20000, decay = 0.08, lag = 0.02| Out.kr(out, ( Lag.kr(value, lag) * EnvGen.kr(Env([1, ratio, 1], [0, decay], \exp)) ).clip(clipLo, clipHi)) }).add; ) // one 'zap' at the beginning // (because the Plug runs at the start of the sl ...
-
... Pause : UGen : AbstractFunction : Object When triggered, pauses a node. Source: EnvGen.sc See also: Free Description When triggered, pauses a node. Class Methods Pause. kr ( gate , id ) Arguments: gate When gate is 0, node is paused, when 1 ...
-
... ds Inherited instance methods Examples { Streson.ar(LFSaw.ar([220, 180], 0, mul:EnvGen.kr(Env.asr(0.5, 1, 0.02), 1.0) * 0.2), LinExp.kr(LFCub.kr(0.1, 0.5*pi), -1, 1, 280, 377).reciprocal, 0.9, 0.3) }.play ⧉ ✔ helpfile source: /usr/local/sha ...
-
... older Kemar.path = "KemarHRTF/" Kemar.initBuffers(a, e); ( { var sound; sound = EnvGen.kr(Env.adsr, Impulse.kr(3)) * PinkNoise.ar(0.8); Kemar.ar( DecodeAmbi2O.ar( PanAmbi2O.ar(sound, MouseX.kr(-pi, pi), MouseY.kr(-pi, pi)), '1_4_7_4' ) ); } ...
-
... ynthDef(\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 = Pn( Pwrap( Pgeom(200, 1.07, 96), 200, 1 ...