Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... oise", "Pulse"]); funcs = [ { SinOsc.ar(440, 0, 0.3) }, { Saw.ar(440, 0.3) }, { WhiteNoise.ar(0.3) }, { Pulse.ar(440, 0.2, 0.3) } ]; b = Button(w, Rect(110, 10, 180, 20)) .states_([["play", Color.black, Color.green]]) .mouseDownAction_({ sn ...

  2. LocalOut Doc

    ... ToBus Examples ( { var source, local; source = Decay.ar(Impulse.ar(0.3), 0.1) * WhiteNoise.ar(0.2); local = LocalIn.ar(2) + [source, 0]; // read feedback, add to source local = DelayN.ar(local, 0.2, 0.2); // delay sound // reverse channels ...

  3. DynKlank Doc

    ... , 0.05]), rings (#[1, 1, 1, 2])| Out.ar(out, DynKlank.ar(`[freqs, amps, rings], WhiteNoise.ar * 0.001)) }).add ) a = Synth('help-dynKlank'); a.setn(\freqs, Array.rand(4, 500, 2000)); a.setn(\amps, Array.exprand(4, 0.01, 1)); { Out.kr(102, M ...

  4. LocalIn Doc

    ... thods Examples ( { var source, local; source = Decay.ar(Impulse.ar(0.3), 0.1) * WhiteNoise.ar(0.2); local = LocalIn.ar(2) + [source, 0]; // read feedback, add to source local = DelayN.ar(local, 0.2, 0.2); // delay sound // reverse channels ...

  5. PLbindef 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 ...

  6. 14_Subtractive_synthesis Doc

    ... off. ( SynthDef("noiseToPitch", { arg out = 0, mul = 1; Out.ar( out, Resonz.ar( WhiteNoise.ar(mul), LFNoise0.kr(4, 110, 660), [0.005, 0.005] ) ) }).add; ) ( // activate left and right channels Synth("noiseToPitch", [\out, 0, \mul, 1]); Synt ...

  7. Pbjorklund 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, ...

  8. randomSeed Doc

    ... kr(1, 0, 0.3, doneAction: Done.freeSelf) * Resonz.ar( Dust2.ar([10, 10], 270) + WhiteNoise.ar(4), freq, 0.01) ) }).send(s); SynthDef(\help_setRandomSeed, { arg seed=1956, tbus=0.0; RandSeed.kr(tbus, seed); }).send(s); ) // run a patch ( x = ...

  9. ScGrids 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, ...

  10. EQui Doc

    ... methods Examples //////// Basic functionality ( SynthDef(\testEQui, { Out.ar(0, WhiteNoise.ar(0.1).equi); }).add; ) ( x = Synth(\testEQui); e = EQui(target: x); // change the GUI; alt-drag changes q ) p = e.value.postcs; // get an EQuiParam ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow