-
... s:true); CmdPeriod.add(this); this.softReset; task= Routine({this.prTask}).play(SystemClock); } close { "%: stopping and closing serial port".format(this.class.name).postln; task.stop; port.close; CmdPeriod.remove(this); } cmdPeriod { this. ...
-
... }); CmdPeriod.remove(cmdPeriod); cmdPeriod = nil; }; CmdPeriod.add(cmdPeriod); SystemClock.sched(endtime, cmdPeriod); }) }) } objectsToOSC { masterScore.do({arg thisTimeEvent; var offset, block, thisBundle, thisTime = thisTimeEvent[0].star ...
-
... nit...".postln; w = argW; path = argPath; timeout = argTimeout; internalClock = SystemClock; this.reset; timeResponder = OSCresponderNode.new( nil, path ++ "/time", { arg time, resp, msg, addr; //"[OSCClockReceiver]: action...".postln; this ...
-
... .notNil) { ~sendAddr.sendMsg(*[oscpath, value]); }; ~respond.([oscpath, value], SystemClock.beats, NetAddr.localAddr, NetAddr.langPort); }; ~setGUIValue = { |oscpath, value| if(~sendAddr.notNil) { ~sendAddr.sendMsg(oscpath, value); }; ~resp ...
-
... clock = SCPopUpMenu(win, Rect(80, 10, 80,18)) .items_(["TempoClock","AppClock","SystemClock"]); controls = ( play: SCButton(win, Rect(10,10,65,18) ) .states_([["play"],["stop", Color.black, Color.red]]) .action_({ |button| case {button.valu ...
-
... ime = env.releaseTime; dur = 10; // schedule the release of the global envelope SystemClock .sched(dur - reltime, { group.release; }); // schedule the release of the Task SystemClock .sched(dur, { group.freeAll; task.stop; }); loop({ pnotes ...
-
... ; playRoutine.stop; isPlaying = false; }, { playRoutine.reset; playRoutine.play(SystemClock); isPlaying = true; oldElapsedTime = Main.elapsedTime; }); }, 99, //c pressed { currentGrid = Array.fill(numDivs, { Int8Array.fill(numDivs, { 0 }); ...
-
... r.stop; helpSynthReceivePlayer.stop; isPlaying = false; isPbindPlaying = false; SystemClock.sched(helpSynth.totalLatency + cleanupDelay, { this.clearBookkeeping; }); }; CmdPeriod.remove(this); } }
-
... f(synth.isPlaying,{ this.server.sendBundle(0.05, synth.setMsg(\pchRatio, p); ); SystemClock.sched(0.05,{ myTempo.tempo = p; pchRatio = p; }); },{ myTempo.tempo = p; pchRatio = p; }) } init { arg path; super.init(path); tempoClock = TempoClo ...
-
... (synth.isPlaying, { this.server.sendBundle(0.05, synth.setMsg(\pchRatio, p); ); SystemClock.sched(0.05, { myTempo.tempo = p; pchRatio = p; }); }, { myTempo.tempo = p; pchRatio = p; }) } init { arg path; super.init(path); tempoClock = TempoC ...