Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (729) Code (188) Doc (238) Help (111) Quark (181) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. Pgrids Doc

    ... .ar(out, Pan2.ar(sig*env*\amp.kr(0.5))); }).add; SynthDef(\hh, {|out| var sig = WhiteNoise.ar*EnvGen.kr(Env.perc(releaseTime: \release.kr(0.2)), doneAction: Done.freeSelf)*\amp.kr(0.5); sig = LPF.ar(sig, freq: \ffreq.kr(4000)); Out.ar(out, ...

  2. PLbindefPar Doc

    ... |out = 0, freq = 400, att = 0.005, rel = 0.1, rq = 0.1, amp = 0.1| var sig = { WhiteNoise.ar } ! 2; sig = BPF.ar(sig, freq, rq) * EnvGen.ar(Env.perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut.ar(out, sig ...

  3. Pbjorklund2 Doc

    ... , rel= 0.05| var e= EnvGen.ar(Env.perc(0, rel, amp, -10), doneAction:2); var z= WhiteNoise.ar(e); z= BPF.ar(z, 5000, 0.4); Out.ar(0, Pan2.ar(z, 0, 1.5)); }).add; SynthDef(\bz, {|amp= 1, rel= 0.25, freq= 400| var e= EnvGen.ar(Env.perc(0.01, ...

  4. Done Doc

    ... ne = Line.kr(1, 0, 1); a = SinOsc.ar(440, 0, 0.1*line); // sound fading out b = WhiteNoise.ar(Done.kr(line)*0.1); // noise starts at end of line Out.ar(out, Pan2.ar(a+b)); }).add; ) Synth("Done-help"); // note that this synth doesn't have i ...

  5. GMSequencer Doc

    ... eset beat display sequencer.beat_(0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layo ...

  6. GMDuoSequencer Doc

    ... eset beat display sequencer.beat_(0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layo ...

  7. FreqShift Doc

    ... 00), 0, [1, 1]) }.play(s); ) // shifting bandpassed noise { FreqShift.ar(BPF.ar(WhiteNoise.ar(0.2), 1000, 0.001), LFNoise0.kr(5.5, 1000), 0, [32, 32]) }.play(s); ⧉ ✔ More Examples send a SynthDef, run the routine then send a different Synth ...

  8. CtkSynthDef Doc

    ... kr(Env.newClear(8)); envgen = EnvGen.kr(env, gate, doneAction: 2); src = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }); ) // create a new instance of CtkNote based on this prototype b = a ...

  9. ZPlane Doc

    ... 1..c[1].lastIndex].real, 1); ) SCFreqScopeWindow.new(400, 200, 0); x = { LTI.ar(WhiteNoise.ar(0.4).dup(2), e.bufnum, d.bufnum) }.play; x.free // CAUTION: The following example is a bit dangerous, since we are updating the coefficients in // ...

  10. FilterCoef Doc

    ... scope; // IMPORTANT: The b (feedback) coefficients need to be negated. { SOS.ar(WhiteNoise.ar(0.9).dup(2), c[0][0].real, 0, 0, c[1][1].real.neg, c[1][2].real.neg) }.play ⧉ ✔ helpfile source: /tmp/scquark_hs/FilterTools/HelpSource/Classes/Fi ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow