-
... s= TempoClock.all.collect{|x, i| "TempoClock["++i++"]"}; }); 1.wait; }; }).play(AppClock); num.action_({|view| sld.value= spec.unmap(view.value); bpm.string= "(bpm:"++(view.value*60)++")"; TempoClock.all[index].tempo= view.value; }); sld.ac ...
-
... e+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) //click and drag //press cmd+period to stop
-
... = true; value = latestValue; this.refresh; interval.max(0.05).wait; }; }).play( AppClock ); active = true; } stop { active = false } }
-
... 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})
-
... 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 }) }); ...