Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rop(1); rrand(time-deviation, time+deviation).yield; }; }); 0.1.yield; } }.fork(AppClock); } addToFork {arg thisObject, changeTime, changeDev; megaString = megaString ++ (thisObject.asString ++ " "); if(changeTime.notNil, { time = changeTim ...

  2. SatieStatusWatcher Quark

    ... e was unable to boot. Server boot failed.".format(thisMethod)).throw; }; }.play(AppClock); } waitForSatieRunning { |onComplete| switch(status) {\initialized} { this.satieBoot; this.doWhenSatieRunning(onComplete); } {\booting} { this.doWhenS ...

  3. SCLOrkClockView Quark

    ... ar:"), meterLabel = StaticText.new ), ); clock.play({ | beats, seconds, clock | AppClock.sched(0, { this.prUpdateClockUI(beats, seconds, clock) }); 1; }); } prUpdateClockUI { | beats, seconds, clock | beatFlasherView.background = Color.whit ...

  4. UpdateForwarder Quark

    ... ansform { |func| ^this.chain(UpdateTransform, func); } defer { |delta=0, clock=(AppClock), force=true| ^this.chain(DeferredUpdater, delta, clock, force); } collapse { |delta=0, clock=(AppClock), force=true| ^this.chain(CollapsedUpdater, del ...

  5. PostWindow Quark

    ... tin(\gui, \post, ~p1); ~p1.clearFrom(~maxChar); rrand(0.2,0.1).yield; }; }.fork(AppClock); ~r2 = { inf.do{ ["la", "le", "li", "lo", "lu"].choose.postin(\gui, \post, ~p2); ~p2.clearFrom(~maxChar); rrand(0.5,0.1).yield; }; }.fork(AppClock); ~ ...

  6. SFPlay Quark

    ... n.kr(Env([1,1], [(duration - starttime) +1]), doneAction: 2)); }).play(server); AppClock.sched((duration-starttime), {this.stop}); })}, {CocoaDialog.getPaths({ arg paths; paths.do({ arg p; soundfile = p; info = SoundFile.new; info.openRead( ...

  7. MoltenMaster Quark

    ... ying = argIndex; unlockAction.value; isLocked = false; isPlaying = true; }.fork(AppClock); }, { if(isLocked.not and: { currentlyPlaying != -1; }, { this.prStopPlay(argIndex); }); }); } stopPlayback { if(isLocked.not and: { currentlyPlaying ...

  8. SCLOrkChat Quark

    ... t unwedged.")); }); if (chatClient.isConnected.not, { chatClient.connect(name); AppClock.sched(0, { reconnectButton.visible = false; connectionStatusLabel.string = "connecting.."; connectionStatusLabel.visible = true; }); }, { this.enqueueC ...

  9. DeferredView Quark

    ... de such a function one has to cal Function:defer, which makes the call run from AppClock instead. The downside of that is that if the View has an action responding to such a change, the action also gets evaluated by AppClock. This can somet ...

  10. Connection Quark

    ... transform { |func| this.chain(UpdateTransform(func)) } defer { |delta=0, clock=(AppClock), force=false| this.chain(DeferredUpdater(delta, clock, force)); } collapse { |delta=0, clock=(AppClock), force=true| this.chain(CollapsedUpdater(delta ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow