-
Tdef task reference definition Inherits from: Object : AbstractFunction : Pattern : PatternProxy : TaskProxy Pdefn provides an interface to its superclass TaskProxy . Tdef keeps a reference to a task ( time pattern ) that can be replaced wh ...
-
... eFuncs = IdentityDictionary[ // tick 8 -> { |data| var lastTickDelta, nextTime, task, tickIndex; // use nextTime as temp var to calculate tempo // this is inherently inaccurate; tempo will fluctuate slightly around base nextTime = Main.elap ...
-
... phase ^(this.algaSchedNum(algaQuantPhase)) }); }; } algaSchedAtQuant { | quant, task | if(this.isTempoClock, { this.algaTempoClockSchedAtQuant(quant, task); }, { this.algaSched(quant, task) }); } algaSched { | when, task | //if(this.isTempo ...
-
... Loop { classvar <>minTime = 0.001, <>verbose=false; var <key, <>ctlMap, <list, <task, <isRecording=false, then, <>tempo=1, <>start=0, <>length=1, <>step=1, <>jitter=0.0, <>scaler=1, <>shift=0.0, // assumes normalized values. <>rescaled=fals ...
-
... on for one state. Here, however, each state also needs an action function and a task: [ [ "Label", { action }, { arg v; { task } } or nil, foreground color, background color ], [ "Label", { action }, ..... ] ..... ] The action function is p ...
-
... on for one state. Here, however, each state also needs an action function and a task: [ [ "Label", { action }, { arg v; { task } } or nil, foreground color, background color ], [ "Label", { action }, ..... ] ..... ] The action function is p ...
-
15. Sequencing with Routines and Tasks: Filter: Scheduling routines Pause and resume: Task When do you want to start? Using data routines in note sequencing A note on server messaging and timing Suggested Exercise Tutorials/Getting-Started ...
-
... is method must only be called within a Routine or Routine wrapper (for example, Task or Tdef ). Arguments: predicate A condition to be checked before blocking, and before resuming after being woken by signalOne or signalAll . If predicate.v ...
-
... tion, <>offAction; var <>defaultRetAction; var <>weights; var <>dataArray; var <task, <>waitTime = 0.05; *new{ |data,name| ^super.new.init(data,name); } longshort_{ |long| if ( long, { updateValues = { var val; val = 0; dataArray.do{ |it,i| ...
-
... = Wait(10, 0.1, 10, doPost: true, label: \X); ~waitX .dump ( ~waitX.time = 10; ~task = Task { ~waitX.dump; \before.postln; ~waitX.wait; \after.postln; }; ) ~task.play; // after 5 seconds ~waitX.time = 0; // stop asap // reset wait time whil ...