Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. AssemblageMod Quark

    ... }); if(spec.isNil, {spec = [-1,1] }); {nodeTime.yield; this.refreshFunc; }.fork(AppClock); if(modifier == \mod, { ^ModMap.map(Ndef(ndefKey), keyValues[0], type, spec, extraArgs, func, mul, add, min, val, warp, lag); }, { ^HIDMap.map(Ndef(nd ...

  2. clockSync Quark

    ... tion_(\Ê arg view, char;\ if(char === Char .tab) \ \ \ chat.talk(view.string);\ AppClock .sched(0.01, \ view.string = "" \);\ \\ \);\ chatout.focus;\ w.front;\ \ ///////////////////////////// actions /////////////////////////////// \ \ chat ...

  3. SpeedLim Doc

    ... fy a clock for scheduling future updates. The default is SystemClock , although AppClock may be used if you expect to run GUI updates in response to incoming messages. Returns: The SpeedLim instance. Inherited class methods Instance Methods ...

  4. NMLShout Quark

    ... ument.current; Task { this.makeWin(message); 0.1.wait; // currDoc.front; }.play(AppClock); } { this.setMessage(message); }; } *setMessage { |message| var messSize, fontSize; messSize = message.size; defer { fontSize = (1.64 * txtView.bounds ...

  5. Shout Quark

    ... Document.current; Task { this.makeWin(message); 0.1.wait; currDoc.front; }.play(AppClock); } { this.setMessage(message); }; } *setMessage { |message| var messSize, fontSize; messSize = message.size; defer { fontSize = (1.64 * txtView.bounds ...

  6. startup_republic_abc Quark

    ... .default = s = r.s; s.makeWindow.window.bounds_(Rect(315, 280, 288, 98)); }; }, AppClock); // share a synthdef for testing SynthDef(\xxy, {|out, sustain = 1, freq = 440| var env = Line.kr(0.1, 0, sustain, doneAction: 2); var son = SinOsc.ar ...

  7. ProcessTools Quark

    ... leString).postln; pid = nil; }, { pid = diff[0]; }); action.value(pid); }).play(AppClock); } // End .unixCmdInferPID unixCmdThen { |action, checkevery=0.3| this.unixCmdInferPID({|pid| if(pid.isNil, { ("String:unixCmdThen - could not infer P ...

  8. 092-livecoding-worlds Doc

    ... dUniverse.migrateAll(~world, ~mix); ~win.resize(~world.dim); 0.1.wait; } }.fork(AppClock) ) //--another world with strong gravity left ~red= RedWorld3(RedVector[500, 350], RedVector2D[2, 0], 10); //--task sequence worlds (t= { inf.do{|i| ~m ...

  9. 092-livecoding-worlds Quark

    ... dUniverse.migrateAll(~world, ~mix); ~win.resize(~world.dim); 0.1.wait; } }.fork(AppClock) ) //--another world with strong gravity left ~red= RedWorld3(RedVector[500, 350], RedVector2D[2, 0], 10); //--task sequence worlds (t= { inf.do{|i| ~m ...

  10. AutoRand Quark

    ... l); if (newval.notNil) { ctl.valueAction_(newval) }; dt.value.wait; } }).clock_(AppClock); } play { task.play } stop { task.stop } makeButton { |parent, bounds| Button(parent, bounds) .states_([[butname], [butname, Color.white, Color.green] ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow