Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (293) Code (40) Doc (206) Help (6) Quark (41) SCDoc ↗ Forum ↗ Google ↗
  1. Pwrap Doc

    ... = 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 = Pn( Pwrap( Pgeom(200, 1.07, 96), 200, 1000.0 ), inf ); x = a.asStream; Routine({ loop({ Synth(\h ...

  2. Pser Doc

    ... = 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 = Pser([Pser(#[60, 61, 63, 65, 72], 3)], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\ ...

  3. NRand Doc

    ... FSinOsc.ar( NRand(1200.0, 4000.0, n), 0, Line.kr(0.2, 0, 0.01, doneAction: Done.freeSelf)) ) }).add; ) ( n = 0; Routine({ inf.do({ |i| Synth.new("help-NRand", [\n, n]); 0.05.wait; }) }).play; ) n = 1; n = 2; n = 4; ⧉ ✔ helpfile source: /usr ...

  4. Pshuf Doc

    ... = 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 = Pn(Pshuf(#[60, 60, 60, 61, 63, 65, 72], 4), inf).asStream; Routine({ loop({ Synth(\help_sinegrai ...

  5. Pxrand Doc

    ... = 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 = Pxrand(#[60, 61, 63, 65, 72], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.n ...

  6. proxyspace_examples Doc

    ... 0)], 0, 0.2) * EnvGen.kr(Env.asr(fadeTime, 1, fadeTime), gate, doneAction: Done.freeSelf) ) }); ) // once the SynthDef is sent, it can be assigned by name. // using this method, a gate argument should be // provided that releases the synth. ...

  7. Free Doc

    ... tion : Object When triggered, frees a node. Source: EnvGen.sc See also: Pause , FreeSelf Description When triggered, frees a node. Class Methods Free. kr ( trig , id ) Arguments: trig Trigger input id Node to be freed. Inherited class metho ...

  8. LinRand Doc

    ... .ar( LinRand(200.0, 10000.0, minmax), 0, Line.kr(0.2, 0, 0.01, doneAction: Done.freeSelf)) ) }).add; ) // towards hi ( Routine({ loop({ Synth.new("help-LinRand"); 0.04.wait; }) }).play; ) // towards lo (doesn't work like that yet) ( Routine ...

  9. Pindex Doc

    ... 9, 1, 1.01]).mean; son = son * EnvGen.ar(Env.adsr, gate: gate, doneAction: Done.freeSelf); Out.ar(out, son.dup * amp); }).add; ) ( var data = [7, 13, 12, 2, 2, 2, 5]; var indices = [0, 0, 2, 0, 4, 6, 7]; Pbind( \instrument, \help_pindex, \c ...

  10. Pgpar Doc

    ... ; level = EnvGen.ar(Env.linen(attack, sustain, decay, 1-leak), doneAction: Done.freeSelf); XOut.ar(out, level, Silent.ar ! 2) }).add; SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow