-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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); ~ ...
-
... 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( ...
-
... 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 ...
-
... t unwedged.")); }); if (chatClient.isConnected.not, { chatClient.connect(name); AppClock.sched(0, { reconnectButton.visible = false; connectionStatusLabel.string = "connecting.."; connectionStatusLabel.visible = true; }); }, { this.enqueueC ...
-
... 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 ...
-
... 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 ...