-
... efreq = 50, envratio = 3, freqdecay = 0.02, ampdecay = 0.5 | var fenv = EnvGen.ar(Env([envratio, 1], [freqdecay], \exp), 1) * basefreq; var aenv = EnvGen.ar(Env.perc(0.005, ampdecay), 1, doneAction:2); var output = SinOsc.ar(f ...
-
... 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; ) ( var a; a = Pbeta(0.0, 1.0, 0.1, 0.1, inf).a ...
-
... ( SynthDef ( "sine" , { arg out=0, freq=440, dur=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc(0.01, dur, amp), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).store;) ( // simple pattern var boolnet, pattern; boolnet = Pboo ...
-
... umeCtl , { |out, amp = 1, gate = 1| var sig = In .ar(out, 2) * amp; sig = sig * EnvGen .kr( Env (#[1, 1, 0], #[1, 1], -3, releaseNode: 1), gate, doneAction: 2); ReplaceOut .ar(out, sig) }).add; ~vbus1 = Bus .control(s, 1).set(0.5); ~vbus2 = ...
-
... er Nodes which are automatically freed after a certain time (for instance by an EnvGen with a doneAction of 2) will not. This keeps the implementation of the classes simple and lightweight. To have the current state of a Node tracked you ca ...
-
... e line of code, such as { SinOsc.ar([400, 401], 0, 0.1) * Saw.ar([11, 33], 1) * EnvGen.kr(Env.sine(10)) }.play ⧉ ✔ first make sure that the localhost server is booted. Then put the cursor anywhere on the line (shown above) and press <enter> ...
-
... lass.def} *def { ^SynthDef(\redTapTempo, {|out= 0, amp= 0.5| //mono only var e= EnvGen.kr(Env.perc(0.01, 0.1), doneAction:2); var z= SinOsc.ar(400, e*2pi, e*amp); Out.ar(out, z); }, metadata: ( specs: ( \out: \audiobus.asSpec, \amp: Control ...
-
... ustain, amp * AmpCompA.kr(freq)); Out.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; SynthDef(\noiseGrain, { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan = 0; var window; window = Env ...
-
... ef(\zzz, {|out, amp = 0.1, sustain = 1, freq = 440, noise = 0.3, pan| var env = EnvGen.ar(Env.perc(0.01, sustain), doneAction: 2) * amp; var son = SinOsc.ar(freq * [1, 1.2], BrownNoise.ar * noise).sum; Out.ar(out, Pan2.ar(son * env, pan)); ...
-
... piling in some cases (#4018) UGens: Fixed Fixed an issue with the Done flags on EnvGen (#4789) Fixed an issue with EnvGen gating non-gated envelopes (#4436) sclang: Added Ableton Link support is here! Check the LinkClock class for more info ...