-
Mouse { classvar <all, <task, <screenSize, pos, <prevPos; var <name, <>action, <>xspec, <>yspec; *initClass { all = (); screenSize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask ...
-
Mouse { classvar <all, <task, <screenSize, pos, <prevPos; var <name, <>action, <>xspec, <>yspec; *initClass { all = (); screenSize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask ...
-
... rguments: clock A clock, like SystemClock. drift If true , -sched will schedule tasks relative to the current absolute time ( Main.elapsedTime ), otherwise to the current logical time of the scheduler ( -seconds ). recursive Sets -recursive ...
-
CleanDragSink { classvar <>all; var <view, <>color, <>time = 2, <>task; var <>canReceiveDragHandler, <>receiveDragHandler; var <>onClose; *initClass { all = Set(); } *new { |parent, bounds| ^super.newCopyArgs.init( parent, bounds ); } init ...
-
... class. */ ENTimer { var <delta, <maxTime; var <>action; //Option[Function] var <task, <>t = 0; *new { |delta = 0.1, maxTime = inf| ^super.newCopyArgs(delta, maxTime).init; } init { task = Task({ inf.do{ delta.wait; if( t >= maxTime) { task. ...
-
... e to Main.elapsedTime, otherwise to the current seconds of the scheduler. play(aTask) schedules the task to play, with the delta time returned from it. sched(delta, aTask) schedule the task advance(bySeconds) advance time by n seconds. Any ...
-
CleanDragSink { classvar <>all; var <view, <>color, <>time = 2, <>task; var <>canReceiveDragHandler, <>receiveDragHandler; var <>onClose; *initClass { all = Set(); } *new { |parent, bounds| ^super.newCopyArgs.init( parent, bounds ); } init ...
-
... >action, <>extra, <>lastVal = 0, <>lastTime; var <>testFunc, <>deltaTime; var <>task; // may be used by some actions *new { |type, action, extra, startVal| // extra can be anything action = action.asActionFunc; // allow nested nodes ^super. ...
-
... extend(6, Char.space)) [..100]; } } }; con.action_( { MIDIIn.connectAll }); con.task_( updateFunc.value( \waitControl)); con.task_( updateFunc.value( \waitNoteOn)); con.task_( updateFunc.value( \waitNoteOff)); con.task_( updateFunc.value( \ ...
-
Clock: Filter: Description Scheduling Useful Tasks Scheduling and Threads Class methods Inherited class methods Undocumented class methods bars2beats beats beats2bars beats2secs nextTimeOnGrid play seconds secs2beats timeToNextBeat Instance ...