-
... l subclasses of simplenumber bind as simplenumber isValidIDictKey { ^true } } + TempoClock { bindClassName { ^TempoClock } } + Pattern { isPattern { ^true } bindClassName { ^Pattern } // same for Patterns } + Proto { isPattern { // can't us ...
-
... false; *new { arg argStream, clock; ^super.newCopyArgs(nil, argStream, clock ? TempoClock.default) } isPlaying { ^stream.notNil } play { arg argClock, doReset = (false), quant=0.0; if (stream.notNil, { "already playing".postln; ^this }); i ...
-
... false; *new { arg argStream, clock; ^super.newCopyArgs(nil, argStream, clock ? TempoClock.default) } isPlaying { ^stream.notNil } play { arg argClock, doReset = (false), quant=0.0; if (stream.notNil, { "already playing".postln; ^this }); i ...
-
... erarchical Scheduler HierSch schedules and quantises prioritised functions to a TempoClock grid. At any given time by default only the function with the highest priority is evaluated. *new(aTempoClock) aTempoClock.default is used if aTempoC ...
-
... , <>nodeID, <scopeID, <scopebuf, <outarray, <curtime, <clock, <xywz, <endtime, <tempoclock; var <mute_w = 1, <mute_x = 1, <mute_y = 1, <mute_z = 1; var <window, texttask, timestart, timestop, timeformat, cond; var <env; var renderdef, deffu ...
-
TempoClockGui : ObjectGui { // displays current status of a tempoclock; updates every beat classvar namewidth = 100, nameheight = 18, numheight = 40, numwidth = 70, height = 50, width = 600, spec; var <w, <name, <namev, <bars, <beats, updat ...
-
... nit; } init { cursecs = starttime; this.digitalGUI; } play { var start; clock = TempoClock.new(tempo); start = clock.elapsedBeats; clock.sched(inc, { this.cursecs_(clock.elapsedBeats - start + starttime, false); inc; }); isPlaying = true; } ...
-
... eat] play stop pause resume //-- ( s.waitForBoot{ RedMst .clear; RedMst .clock= TempoClock (190/60); RedMst .quant= 4; RedTrk ( \intro , Pbind ( \degree , Pseq ([0, 4], inf )), #[0]); RedTrk ( \a , Pbind ( \degree , Pseq ([1, 4], inf )), #[ ...
-
... unc; var midiFuncRegister; *new { ^super.new.init; } *initClass { globalClock = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); } init { super.init; clock = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); timelineRegiste ...
-
... t, msg; var tempo, beats, timeToNextBeat; var remoteQuant = msg[2..]; var tc = TempoClock.default; timeToNextBeat = tc.timeToNextBeat(remoteQuant); collective.sendToName(msg[1], '/setClock', tc.tempo, tc.beats, timeToNextBeat, Main.elapsed ...