Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ut.ar(out, Pan2.ar( SinOsc.ar(freq), pan ) * EnvGen.ar(window, doneAction: Done.freeSelf) ) } ).add; ) // send grains ( fork { loop { s.sendBundle(0.1, [\s_new, \pgrain, -1, 1, 1]); 0.02.wait; }; } ) // try different synth defs: // without ...

  2. 13_BinaryOp_synthesis Doc

    ... te amplitude { SinOsc.ar(440, 0, 0.1) * EnvGen.kr(Env.sine(1), doneAction: Done.freeSelf) }.scope; ⧉ ✔ Setting the doneAction argument (control) to 2 insures that after the envelope reaches its endpoint, SuperCollider will release the memor ...

  3. EnvGen Doc

    ... e duration of each segment. { PinkNoise.ar(EnvGen.kr(Env.perc, doneAction: Done.freeSelf)) }.play ⧉ ✔ Class Methods EnvGen. ar ( envelope , gate: 1.0 , levelScale: 1.0 , levelBias: 0.0 , timeScale: 1.0 , doneAction: 0 ) EnvGen. kr ( envelop ...

  4. PauseSelf Doc

    ... ion : Object When triggered, pause enclosing synth. Source: EnvGen.sc See also: FreeSelf Description Pause enclosing synth when input signal crosses from non-positive to positive. Class Methods PauseSelf. kr ( in ) Arguments: in The input s ...

  5. Spawning Doc

    ... .0), // frequency between 200 and 400 Hz 0, Line.kr(0.2, 0, 1, doneAction: Done.freeSelf) // frees itself ) ) }).play(s); ) x.free; ⧉ ✔ Clocks, such as SystemClock , provide a way to schedule things at arbitrary points in the future. This i ...

  6. PG_Cookbook05_Using_Samples Doc

    ... 0 ), env = EnvGen.kr(Env.linen(0.01, time, 0.05, level: amp), doneAction: Done.freeSelf); Out.ar(out, (sig * env).dup); }).add; SynthDef(\bell, { |out, accent = 0, amp = 0.1, decayScale = 1| var exc = PinkNoise.ar(amp) * Decay2.kr(Impulse. ...

  7. Rand Doc

    ... .ar(out, FSinOsc.ar( Rand(200.0, 400.0), 0, Line.kr(0.2, 0, 1, doneAction: Done.freeSelf)) ) }).add; ) ( Routine({ 8.do({ Synth.new("help-Rand"); 1.0.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...

  8. RecordBuf Doc

    ... 00, 1000, 4), 2000, 800, 0.125); RecordBuf.ar(formant, bufnum, doneAction: Done.freeSelf, loop: 0); }).play(s, [\out, 0, \bufnum, b]); ) // play it back ( SynthDef(\help_RecordBuf_playback, { |out = 0, bufnum = 0| var playbuf; playbuf = Pla ...

  9. IRand Doc

    ... hannel between 0 and 1 FSinOsc.ar(500, 0, Line.kr(0.2, 0, 0.1, doneAction: Done.freeSelf)) ) }).add; ) ( Routine({ 16.do({ Synth.new("help-IRand"); 0.5.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Class ...

  10. ExpRand Doc

    ... , FSinOsc.ar( ExpRand(100.0, 8000.0), 0, Line.kr(0.2, 0, 0.01, doneAction: Done.freeSelf)) ) }).add; ) ( Routine({ inf.do({ |i| Synth.new("help-ExpRand"); 0.05.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSour ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow