Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rmanent node ID for later reuse. wait(responseName) - this can be used within a Routine to wait for a server reply waitForBoot(func, limit) - evaluate the function func as soon as the server has booted. If it is running, it is evaluated imm ...

  2. 22_Runtime_errors Doc

    ... on> var i = 3 < FunctionDef in closed FunctionDef > (no arguments or variables) Routine-prStart arg this = <instance of Routine> arg inval = 758.000000 ⧉ ✔ //////////////////////////////////////////////////////////////////////////////////// ...

  3. Pfsm Doc

    ... 2], 73, #[0, 2], Pseq([74, 75, 76, 77]), #[2, 3, 3], nil, nil ], inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, a.next.midicps]); 0.1.wait; }) }).play; ) ( Pfsm([ #[5, 6, 7], // entry states // e1 (== state 0) Pbind(\dur, Ps ...

  4. CytonSerial Quark

    ... 00DRM0", argBaudrate, crtscts:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remov ...

  5. painter Quark

    ... are represented by Buttons, and edge labels by StaticText // The a drawing Pen routine draws edges // Substantially it is a reimplementation of level I of Graphista // Should be easy to add trajectory (via MouseXY) and hearing circle // NO ...

  6. CutFunc Doc

    ... eq),500,0.1)%modulo, 0.0));}).play; clock= ExternalClock(TempoClock(2.1)).play; Routine.run({ sf= BBCutBuffer(Platform.resourceDir +/+ "sounds/break2.aiff",4); s.sync; BBCut2([CutFunc({arg i, block, clock; "cut".postln; synth.set(\freq,55+( ...

  7. nordDrum2.desc Quark

    ... enDeviceVia( z ); k.device; k.trace; k.trace(false) m = {|which = 0, vel = 0.1| Routine{ k.elAt(\pad, which , \on).value = vel; 0.01.wait; k.elAt(\pad, which , \off).value = 0; }.play; }; Tdef(\player, { var p; inf.do{|i| (i % 4 == 0).if({ ...

  8. API Quark

    ... pauses thread if needed and returns // the result directly. // must be inside a Routine var result, c = Condition.new; c.test = false; this.async(selector, args, { arg r; result = r; c.test = true; c.signal; }, onError); c.wait; ^result } * ...

  9. gui_example_userview Quark

    ... assFilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); win.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  10. Series of numbers by henk-lasschuit (Henk Lasschuit) Code

    ... 0, \pan, -1]); highestbeep=Synth(\beep, [\freq, 200, \cutoff, 200, \pan, 1]); Routine({ for (1, 100, { arg startnumber; var number, length=1, maximum; number=startnumber; maximum=startnumber; (number.asString+" ").post; n ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow