-
... b.setn(0, interpSignal.asWavetable); (fadeTime/numSteps).wait; }; "...done!".postln; }; ) ( // Generate a new target buffer, then run the fork above again to morph to new wave! a[0] = a[1]; a[1] = z.value; a.plot; ) x ...
-
... ecay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: BrownNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq.reciprocal, decaytime: decay, ...
-
... sub = SinOscFB.ar(freq*0.25, lfo2, 1, 0); env = Line.kr(1, 0, dur*4.0, doneAction: Done.freeSelf); noise = PinkNoise.ar(nl, 0); sig = (sig + sub + noise) * env; //sig = BLowPass4.ar(sig, filt); sig = MoogFF.ar(si ...
-
... ttackTime: 0.001, sustainTime: 1, releaseTime: 0.01, level: 1.0, curve: 'lin'), doneAction: Done.freeSelf); sigr = sigr*env; sigl = sigl*env; Out.ar(out, [sigl,sigr]) }).add; ~getPbind = { arg n, amps, durs, freq; ~num ...
-
... wNoise) * (1 + lfo); aenv = EnvGen.ar(Env.adsr(0.05, 0.2, 0.9, 0.5), gate, doneAction: Done.freeSelf) * amp; filterEnv = EnvGen.kr(Env.adsr(0.01, 0.3, 0.7, 0.5), gate); // dirty.those(licenses).kick[we'll] out.ever.more; ...
-
... What is the best way to structure GUI code. IMO, Model-View-Controller (when done correctly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, here's a quick example using Nod ...
-
... nv = EnvGen.ar(Env.adsr(attack, decay, sustain, release), gate, levelScale:0.5, doneAction:Done.freeSelf); sig = env*Splay.ar(LFSaw.ar(freq*[0.98,0.99,1.0,1.01,1.02],[LFNoise0.kr(2), LFNoise0.kr(1.9), LFNoise0.kr(2.1)]) + SinOsc.ar(freq* ...
-
... 6; b = Buffer.allocConsecutive(~frames, s, ~samples * 2, completionMessage: { "done".postln; }); ) // fill in buffers // you can do this multiple times, even live code it while synth is running ( var formulas, formula; formulas = ...
-
... ition. https://github.com/poetaster/supercollider-lsystems // if you have never done so, run the following code first ( Quarks.install("https://github.com/shimpe/panola"); Quarks.install("https://github.com/shimpe/sc-lsystem"); ) /* ...
-
... ); }).add; s.sync; ServerTree.add(~makeNodes); s.freeAll; s.sync; "done".postln; }); ) // start performance; modulate up to three of the "marimbas" via multitouch on Sensors2Osc ( ~marimba = 3.collect{ Synth(\marimba, [\ ...