-
... us.index, bus.numChannels], [\n_set, synth.nodeID, \t_trig, 1]); }.loop }).play(SystemClock); this.gui(layout); } freq_ { arg f; freq = f; } free { updater.stop; // if there's a gui, drop it this.dependants.do({ arg d; d.remove }); resp.rem ...
-
... 'cc') && { item.val1 === 7 } ); } ); events.collect( _.absTime ).do({ |time, i| SystemClock.sched( time, { { this.sliders[ events[i].channel ].valueAction = events[i].val2 / 127; }.defer; }); }); SystemClock.sched( ((events.last) ? (absTime ...
-
... ope } {char == $d} { if(this.isLocal or: { this.inProcess }) { stillRunning = { SystemClock.sched(0.2, { this.stopAliveThread }); }; startDump = { this.dumpOSC(1); this.stopAliveThread; dumping = true; CmdPeriod.add(stillRunning); }; stopDu ...
-
... } ); 0.00001.wait; } ); }); SystemClock.play(getAccurateTime); } ); // this stuff gets executed here, it is triggered by the remote server ClientFunc( \returnCl ...
-
... 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 ...