-
... i_bufnum=0, gate=1, out=0; Out.ar(out, DiskIn.ar(this.numChannels, i_bufnum) * EnvGen.kr(Env.asr(releaseTime:0.1), gate: gate, doneAction: 2) ) }) } defName { ^this.class.name.asString ++ this.numChannels } synthDefArgs { // first buf to p ...
-
... her SC applications by calling commands via the API rather than using global or environment variables. Creating an API You specify an API by name and it is created or if an API has already been created by that name it is fetched from the AP ...
-
... ial curve output range (outMin..outMax). A curve is like the curve parameter in Env Unlike with linexp, the output range may include zero. If the input exceeds the input range, the following behaviours are specified by the clip argument: ni ...
-
... , quantization, slider modifiers Ex. 1d: step sequencer, stream players in same environment Ex. 1e: step sequencer and replacements with PLx Ex. 2: stream players and synths in one VarGui Ex. 3: granular synthesis with Tasks Ex. 4a: interac ...
-
... es in the value or slope (e.g. non-bandlimited sawtooth or pulse waves). x = Env([0, 0.75, -1, 1, 0], [0.1, 0.01, 0.4, 0.2]).discretize(128); - Inter-sample distortion is clearly visible for 0 dBFS pulse waves. ( var stream = Pstu ...
-
... Def(\GMPercSine, { |freq, amp| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc, doneAction: Done.freeSelf); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spacing_(10) .add( VLayout() .margins_(0) .add(pl ...
-
... .kr(1, 3), MouseY.kr(1, 3), 2, 0, 0.8, tMul: 650); Limiter.ar(sig[0..1], 0.3) * EnvGen.ar(Env.asr(0.1, curve: 3)) }.play ) x.release // oscillating force, modulate tMul ( x = { var sig = Fb1_Duffing.ar( SinOsc.ar(3).range(1, 5), 1, 1, 2, 0, ...
-
... Def(\GMPercSine, { |freq, amp| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc, doneAction: Done.freeSelf); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spacing_(10) .add( VLayout() .margins_(0) .add(pl ...
-
... = RLPF .ar(x, fc, rq, amp).softclip; x = Balance2 .ar(x[0], x[1], bal); x = x * EnvGen .kr( Env .cutoff, gate, doneAction: 2); Out .ar(0, x); }, [0.1, 0.1, 0.1, 0.1, 0.1, 0] ).load(s); // make the window w = Window ( "another control panel" ...
-
... r(1, 3), MouseY .kr(1, 3), 2, 0, 0.8, tMul: 650); Limiter .ar(sig[0..1], 0.3) * EnvGen .ar( Env .asr(0.1, curve: 3)) }.play ) x.release // oscillating force, modulate tMul ( x = { var sig = Fb1_Duffing .ar( SinOsc .ar(3).range(1, 5), 1, 1, ...