-
... (q.numChans, zoom: 9); "startup example with custom Menus done.".postln; }.play(AppClock);
-
... ; } iAteFromPrey { if(biteFlag == false, { biteFlag = true; prey.predatorAteMe; AppClock.sched(aggr, { biteFlag = false; nil;}); }); } setAggression_{arg argaggr; aggr = argaggr; } setLoc_ {|x, y| point = Point(x,y); } getLoc { ^point; } mo ...
-
... (Main.elapsedTime - started).round(0.001) ); action.value( synthDefs ); }.fork(AppClock); } }
-
... e+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); )
-
... e+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); )
-
... as this . That is: If delta > 0 (the function should evaluate later), defer to AppClock . If delta <= 0 (execute right now), defer to AppClock if thisThread matches the thread receiving this method call. Otherwise, directly Function: -valu ...
-
... cts to schedule code that interacts with GUI elements, you must do so using the AppClock, since code scheduled on the AppClock is performed in the main application context. You can of course also reschedule GUI code to the AppClock from wit ...
-
... . This calls the superclass' startup , which among other things initializes the AppClock and the top-level Environment . Main's startup then stores Server.default in the interpreter variable s , sets the platform default's GUI kit, initiali ...
-
... n.do({ p.parse( "a-" +(n-i).asString) ; i = i-1; 0.1.rand.wait ; }) ; } ).play( AppClock ) )
-
... is.pause; starttime = newstart; this.play; }, {starttime = newstart; isGui.if({ AppClock.sched(0.01, {window.view.children[4].string_(starttime.asTimeString); window.view.children[5].value_(starttime / sf.duration); }) }) }); } // in mixer, ...