-
... .kr(2.7, 0, 1000, 2500), 0.2)); Out.ar(out, PingPong.ar(bufnum, [left, right] * EnvGen.kr(Env([1, 1, 0], [2, 0.1])), 0.1, 0.8, 1) ) }).play(s, [\out, 0, \bufnum, b.bufnum]); }); ) b.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/ ...
-
... 1, 0],[0.001,0.006, 0.0005],[5,-5, -8]); var inp = amp * LFClipNoise.ar(2000) * EnvGen.ar(env,gate); var son = DWGPlucked2.ar(freq, amp, gate,0.1,1,c3,inp); DetectSilence.ar(son, 0.001, doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, pan)); } ...
-
... 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 = PdurStutter( Pseq(#[1,1,1,1,1,2,2,2,2,2 ...
-
... (\gpdef, { |out = 0, freq = 440, sustain = 0.05, amp = 0.1, pan| var env; env = EnvGen.kr(Env.perc(0.01, sustain), doneAction: Done.freeSelf) * amp; Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0, env), pan)) }).add; ) Pdef(\x, Pbind(\dur, Pn(0.25, ...
-
... teNoise.kr.range(440, 880), envbuf, WhiteNoise.kr.range(-0.25pi, 0.25pi), 0, 1, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ); Out.ar(0, DecodeB2.ar(4, w, x, y)); }).add; ) z = Env([0, 1, 0], [0.1, 0.9] ...
-
... sg("/c_set", 10, 1200); ⧉ ✔ Start a control process that writes to bus #10. The EnvGen doneAction will free this node automatically when it finishes. s.sendMsg("/s_new", "line", s.nextNodeID, 0, 1); ⧉ ✔ Free the node. s.sendMsg("/n_free", x ...
-
... endMsg("/c_set", 10, 1200); Start a control process that writes to bus #10. The EnvGen doneAction will free this node automatically when it finishes. s.sendMsg("/s_new", "line", s.nextNodeID, 0, 1); Free the node. s.sendMsg("/n_free", x); S ...
-
... 1, 0],[0.001,0.006, 0.0005],[5,-5, -8]); var inp = amp * LFClipNoise.ar(2000) * EnvGen.ar(env,gate); var son = DWGPluckedStiff.ar(freq, amp, gate,0.1,1,c3,inp,rel,fB); DetectSilence.ar(son, 0.001, doneAction:2); Out.ar(out, Pan2.ar(son * 0. ...
-
... Feedback.ar(fmbusin, 1)*(fmamount*5000); rmod= InFeedback.ar(rmbusin, 1); penv= EnvGen.kr(Env.perc(pitchatk, pitchdec), t_trig, env*pol); freq2= freq+penv; aenv= EnvGen.kr(Env.perc(atk, dec), t_trig, t_trig); dry= SinOsc.ar(freq2+fmod, 0, a ...
-
... t=0, freq=440,gate=1, amp=0.5,rho=1| var son = OteyPiano.ar(freq, amp, rho:rho)*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; ) //Use it. ( Pbind( \ ...