-
... ments: env An instance of an Env to be passed to a synth as the argument for an EnvGen. starttime If used in a CtkScore, specifies a time to write the initVal to the bus. addAction A symbol (\head, \tail, \before, \after or \replace) or an ...
-
... n datatype specifying an 'audio' rate function which will end the synth with an EnvGen Location: NOT INSTALLED! See also: EnvGen , Event Description This is an example of very usage dependent spec. It has been used to mark the output spec f ...
-
... d. ( a = CtkNoteObject.new( SynthDef(\test2, {arg gate = 1, freq, amp; var env, envgen, src; env = Control.names([\env]).kr(Env.newClear(8)); envgen = EnvGen.kr(env, gate, doneAction: 2); src = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * e ...
-
... into SC3 style code. // This will not execute in SC3 ( Synth.play({ Spawn.ar( { EnvGen.ar(Env.perc) * SinOsc.ar(440,0,0.1) }, 1, // one channels 1 // new event every second ) }) ) // The same example in SC3 (will execute) s.boot; ( SynthDef ...
-
... gate; gate = Trig1.kr(1.0,dur / tempo); RLPF.ar( VarSaw.ar( freq, 0.0, width ), EnvGen.kr(fenv,gate,levelScale: fenvmod), rq) * EnvGen.kr(envadsr,gate,0.2, doneAction: 2) },[ Pseq((70 + [ 0, 1, 5, 6, 10 ]).midicps ,inf) * Prand(2 ** [0,-1,2 ...
-
... k from -1 to 1 //in samples delay1= 100; delay2= 40; source= WhiteNoise.ar(0.5)*EnvGen.ar(Env([1,1,0],[(delay1+delay2)/SampleRate.ir,0.0]), Impulse.kr(MouseY.kr(1,4))); TwoTube.ar(source,MouseX.kr(-1,1),0.99,delay1,delay2); }.play ) ( Synth ...
-
... r amplitude) with an envelope. // modulate amplitude { SinOsc.ar(440, 0, 0.1) * EnvGen.kr(Env.sine(1), doneAction: Done.freeSelf) }.scope; ⧉ ✔ Setting the doneAction argument (control) to 2 insures that after the envelope reaches its endpoi ...
-
... (extension) | Splines | UGens > Generators'>Generators SplineGen Extension Like EnvGen but for Splines Location: NOT INSTALLED! See also: LinearSpline , BezierSpline , EnvGen , KrSplinePlayer , SplineFr Description Plays a spline along one ...
-
... ft ( SynthDef(\frqShift1, { |out, freq, detune = 1.5| var e1, left, right; e1 = EnvGen.ar(Env.new([0, 0.1, 0], [1, 2.3]), 1, doneAction: Done.freeSelf); left = SinOsc.ar(freq, 0, e1); // original tone left = left + FreqShift.ar(left, freq * ...
-
... q, mul: amp); var env = Env.newClear(8); var envCtl = \env.kr(env.asArray); var envGen = EnvGen.kr( envCtl, doneAction: Done.freeSelf ); snd = snd * envGen; Out.ar(0, snd!2); }).add; s.sync; routine = Routine({ loop { Synth(\GMEnv, [ \env, ...