-
... e: r{ 100.do{ model.value_(1.0.rand.postln).changed(\value); 0.5.wait; } }.play(AppClock) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/SimpleController.schelp link::Classes/SimpleController::
-
... lts to 0.0 * @param clock the clock to execute the function within, defaults to AppClock */ *new { arg func, delta = 0.0, clock; ^super.new.prInit( func, delta, clock ); } prInit { arg argFunc, argDelta, argClock; func = argFunc; delta = ar ...
-
... to make sure lines post in the right order startPostThread { notScheduled.if({ AppClock.sched(0, { try { view.notClosed.if({ view.string_(view.string ++ strToPost); view.select(view.string.size - 2, 0); strToPost = ""; }); } { |error| erro ...
-
... to make sure lines post in the right order startPostThread { notScheduled.if({ AppClock.sched(0, { try { view.notClosed.if({ view.string_(view.string ++ strToPost); view.select(view.string.size - 2, 0); strToPost = ""; }); } { |error| erro ...
-
... defs_storePath, "w", { |file| file.write(q.ndefs.collect(_.key).cs) } ); }.play(AppClock); [ slotIndex, choiceIndex, key].postcln; }; Window.allWindows.do({|c|c.name.postcln})
-
... . draw Alias for UserView: -drawFunc . . play Starts an internal thread on the AppClock updating at rate fps . . stop Stop internal thread. . resize Change window size while keeping x and y position. The argument can also be a RedVector . ...
-
... i); }; w.front; ws= ws.add(w); w.onClose= {i.free}; 0.01.wait; }; }; }; r.play(AppClock); CmdPeriod.doOnce{ws.do{|w| w.close}}; ) //--3d pen test (3rd dimension is time) ( var width= 50, height= 50, speed= 50, z= 0, w, i, a, r, persistance ...
-
... oUpTime < inf ) { upTimeTask = Task({ autoUpTime.wait; this.upValue = value; }, AppClock).start; }; } valueAction_ { |newValue = 0| this.value = newValue; this.doAction; } upValue_ { |newValue = 0| this.stopTasks; moveValue = 0; if( useUpVa ...
-
... s_([["Start"],["Stop"]]) .action_ ({|btn| if(btn.value == 1, { pollRoutine.play(AppClock); }, { fork{ pollRoutine.stop; 0.1.wait; pollRoutine.reset; } }); }); pollRoutine = Routine ({ loop { prOutBus.get({|val| { modControl.modulateWithValu ...
-
... == Char .tab) { string = n + ":" + e.currentLine; b.send( \chat , string.copy); AppClock .sched(0.1, { e.string = "" }); // time is the original crime. remove the tab. } }); e.onClose_({ AppClock .sched(0.1, { a.remove; d.close; nil }) }); ...