Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Attack Detection and Amplitude Threshold Setter GUI by elifieldsteel (eli.fieldsteel) Code

    ... (nil, 'trigVal', { |time, resp, msg| if( msg[3] == 1, { Routine { w.drawHook = { |v| Pen.fillColor = Color.green; Pen.strokeColor = Color.black; Pen.width = 3; Pen.addArc(700@12 ...

  2. particle_system_with_sound Doc

    ... a, age, \d, delta); }; 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 ...

  3. particle_system_with_sound Quark

    ... a, age, \d, delta); }; 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 ...

  4. SGME_GUI Quark

    ... keWindow { var waitTime = 0.1; // Window.closeAll; // Cierra todas las ventanas Routine({ panels.do({|panel| panel.makeWindow; while({panel.window.visible == false}, {wait(waitTime)}); }); //helpWindow.makeWindow; panels[0].window.front; // ...

  5. SWPlotterMonitor Doc

    ... ple example use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the ...

  6. SubsampleOffset Doc

    ... sig, sd * 4, offset); OffsetOut.ar(out, sig); }, [\ir, \ir, \ir, \ir]).add; ) ( Routine { loop { s.sendBundle(0.2, [9, \Help_Subsample_Grain, -1, 1, 1, \freq, 1000]); rrand(0.001, 0.002).wait; } }.play; ) ⧉ ✔ helpfile source: /usr/local/sha ...

  7. Pprob Doc

    ... }).add; ) ( var t; a = Pprob([0, 0, 1, 0, 1, 1, 0, 0], 60, 80); t = a.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, t.next.midicps]); 0.01.wait; }) }).play; ) a.distribution = [0, 1]; a.distribution = [1, 0]; a.distribution = [0 ...

  8. Debugging-tips Doc

    ... lly ⧉ ✔ This works only with internal or local servers. For remote servers, the routine may be rewritten as follows. r = fork { loop { b.get({ |value| l.add(value) }); 0.1.wait } }; ⧉ ✔ NOTE: This approach is not valid for audio buses, beca ...

  9. handout-1-intro Quark

    ... 2"], // wait after each command: a block only counts as live once its start // routine has synced with the server, and st on a block that is still // starting does not free its buffer (issue #51) cmds: [["pl 1 drums1", 3], ["st 1", 3], ["l ...

  10. Harmo : Harmonic Series modulated by a MultiSlider interface. by simon (Dindoléon) Code

    ... ampBus = Bus.control(s); ampBus.value = 0.1; sndBus = Bus. audio(s, 2); // Routine to add SynthDefs, wait for Server reply, then start Synths { // The SynthDef has been modified to store the harmonic number inside it, allowing to ch ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow