Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Pfinval Doc

    ... val({ rrand(3, 5) }, Pseq([1, 2, 3, 4, 5, 6], inf)*4+65), inf); b = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, b.next.midicps]); 0.12.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classe ...

  2. Spawner Doc

    ... e Methods . par ( pattern , delta: 0 ) Begin an event stream in parallel to the routine. If delta is non-zero, the pattern will begin that many beats after now , provided that now + delta is later than the next event that the Spawner will g ...

  3. Place Doc

    ... c = Place(#[0, 0, [0, 4, 7], [1, 5, 8], [2, 6, 9]], inf) + 67; x = c.asStream; Routine({ loop({ Synth("help-sinegrain", [\freq, x.next.midicps]); 0.17.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Class ...

  4. red04 Doc

    ... (1-(p.age/maxAge)))); }; Pen.fill; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  5. CampCutProc Doc

    ... ples ( //test with gentle subtle changes... var f; var pdata,method,campstream; Routine.run({ f= BBCutBuffer("sounds/a11wlk01.wav",4); s.sync; //Gainsborough Little Bob Major pdata=[[0,2,4,6], [1,3,5], [1,3,6], [2,4,6], Array.new(0) ]; //ad ...

  6. Semaphore Doc

    ... .signal; // allow others access again }; // e.g. set the values to integers u = Routine { inf.do { |i| useAndModify.value([100, 200, 300], "thread 1>"); rrand(1, 3).wait; } }; // e.g. set the values to floats k = Routine { 0.5.wait; inf.do ...

  7. Pwrand Doc

    ... a = Pwrand([60, 61, 63, 65, 72], [10, 2, 3, 1, 3].normalizeSum, inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.1.wait; }) }).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes ...

  8. red05 Doc

    ... erEnd.position.y)); }; Pen.stroke; }; win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  9. RedMst Doc

    ... do{|i| i.postln; 1.wait}}); d= Ndef(\ndef, {SinOsc.ar([900, 909], 0, 0.3)}); e= Routine({inf.do{|i| (i*10).postln; 1.wait}}); f= Patch(Instr(\test, {SinOsc.ar([400, 404], 0, 0.1)})); g= NodeProxy.audio(s, 2).source= {SinOsc.ar([500, 505], 0 ...

  10. Ref Doc

    ... (see Klank for an example). Refs can also be used to simplify the coding of co-routines used in EventStreams (see Prout for an example). x = Ref(nil); z = obj.method(x); // method puts something in reference x.value.doSomething; // retriev ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow