-
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. ...
-
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( \ ...
-
//redFrik RedInterpolator { var <value, <>tick, <>clock, <>action; var task; *new {|value= 0, tick= (1/60), clock| clock= clock ? SystemClock; ^super.newCopyArgs(value, tick, clock); } goto {|target= 1, dur= 0, curve= 0| task.stop; task= Ro ...
-
RPlay { var <score, <task, <isPlaying = false, <isPaused = false, <>clock, now; *new {arg score, clock; clock = clock ? TempoClock.new; ^super.new.init(score, clock); } init {arg argscore, argclock; score = argscore; clock = argclock; now = ...
-
... 0.05).makeButton(w, Rect(0,0,20,20)); ) */ AutoMod { var <>ctl, <>func, <>dt, <task; var butname = "m"; *new { |ctl, func, dt| ^super.newCopyArgs(ctl, func, dt ? { exprand(0.33, 3) }).init; } init { var spec = ctl.controlSpec; task = TaskP ...
-
... imer for the given name; optionally give it an id underwhich to store a daytime task. DayTimer ( \otto ); *all DayTimer .all; // all daytimers are stored here. *top // top is a class variable; this daytimer is for general tasks. // for only ...
-
... t, >positionSpeed, >grainDur, >grainPan, >grainAmp, <>gain, >density, redGrain, task; *new {|redGrain| ^super.new.initRedGrainController(redGrain); } initRedGrainController {|argRedGrain| redGrain= argRedGrain; grainBuf= redGrain.buf; grain ...