-
... if(counter >= (1.0 + (delta * time)), { done = true }); delta.wait; } }, clock: SystemClock) )
-
... }; } */ } +Clock { *tempo { ^(1.0) } *tempo_ { } tempo { ^(1.0) } tempo_ { } //SystemClock, just do no error out *interpolateTempo { } *interpTempo { } //Only works for TempoClock / LinkClock interpolateTempo { | tempo = 1, time = 0, shape ...
-
... 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. ...
-
... { |waitTime, value| ^super.new.init(waitTime, value) } init { |waitTime, value| SystemClock.sched(waitTime, { this.fire(value) }) } }
-
... emove; }); frequency = freq; // save frequency for Voicer.release lastTrigger = SystemClock.seconds; // save time this.isPlaying = true; isReleasing = false; } { reserved = false; } } // triggerByEvent { |freq, gate(1), args, latency| // ^t ...
-
... , loop, \amp, amp, \buf, buffer ]); NodeWatcher.register(synth); if(loop.not, { SystemClock.sched(duration, { this.stop(fadeTime); nil; }); }); } prStop {|fadeTime| synth.set(\rel, fadeTime, \gate, 0); } prFree { if(this.isPlaying, { synth. ...
-
... ; numActivePings = numActivePings - 1; pingTask.stop; if(numActivePings == 0, { SystemClock.sched(1.5, {this.makeConnections}) }); }, '/clientLaunched', addrBook[nickname.asSymbol].addr).oneShot; pingTask = Task({ loop { addrBook.send(nickn ...
-
... ; visualsAddr = aVisualsAddr; // faceStates = {0}!6; upFace = 0; lastUpdates = (SystemClock.seconds!6); lastTick = lastUpdates.first.copy; } printOn { | stream | if (stream.atLimit) { ^this }; stream << this.class.name << "( " << this.color ...
-
... Thread if it's running already aliveThread.nextBeat.isNil.if({ aliveThread.play(SystemClock) }); } stopAliveThread { aliveThread.stop; aliveThread = nil; } c_setn { |msg| var bus, i; i = 1; { i < msg.size }.while({ bus = nodes.at(msg.at(i)) ...
-
... ng with \udp //Alga uses \tdp by default! if(server.options.protocol == \udp, { SystemClock.sched(3, { if(algaInstantiated.not, { ("Using a server with the UDP protocol, use the TCP one instead. Instantiation packet for AlgaGroup " ++ nodeI ...