-
... nces, create a unified GUI, etc. Note: GUIs are always deferred, so you can use SystemClock in routines involving graphics. Creation / Class Methods *new (graph, bpm, weight, name) Create a new Runner instance. graph - a Graph object. Defau ...
-
... ot note = msg[2]; vel = msg[3]; sus = msg[4]; channel = msg[5]; nudge = msg[6]; SystemClock.schedAbs(time + nudge, {midiout.noteOn(channel, note, vel)}); SystemClock.schedAbs(time + nudge + sus, {midiout.noteOff(channel, note, vel)}); }, 'f ...
-
... def.asSynthDesc, \lastChange -> 0.0, \clients -> IdentitySet.new, \timeAdded -> SystemClock.seconds ]; all[server][function] = coll; } { coll = all[server][func]; }; coll[\clients].add(object); coll[\lastChange] = SystemClock.seconds; } *re ...
-
... = stream.next(inval); outval.notNil } { clock = thisThread.clock; if(clock === SystemClock) { tempo = 1.0; "warning: Pirama uses SystemClock, which cannot change tempo.".postln; } { tempo = clock.tempo }; if(absdif(tempo, prevTempo) >= ste ...
-
Alga.boot(clock:SystemClock) a = AN({RLPF.ar(WhiteNoise.ar) * \amp.ar(0.5)}).play; ( a.it = 4; fork { var sched = 5; a.from(0, \amp, sched:sched); sched.wait; "starting".postln; a.it.wait; "end".postln; } )
-
... utton(nil, nil, "tap tempo", "tap tempo").action_{|view| var newTempo, nowTime= SystemClock.seconds; if(nowTime-timeout>lastTime, { (this.class.name++": timeout").postln; counter= 0; }); if(counter<(n-1), { times= times.put(counter, SystemC ...
-
... MIDISyncClock.init **BEFORE** starting the clock source.\n".postln; startTime = SystemClock.seconds; }; // use nextTime as temp var to calculate tempo // this is inherently inaccurate; tempo will fluctuate slightly around base nextTime = Sy ...
-
... taFunc); board.accelAction= board.accelAction.addFunc(accelFunc); dataTask.play(SystemClock); accelTask.play(SystemClock); CmdPeriod.add(this); } stop { dataTask.stop; dataTask.reset; accelTask.stop; accelTask.reset; board.dataAction= board ...
-
... ///// q = q ? (); ( q.lastSymAxis = [0, 0, 1]; q.symAxis = [1, 0, 0]; q.ltime = SystemClock.seconds; JITseto .action = { |setObj| ( setObj .id == 1).if{ var time = SystemClock.seconds; var flipAngleVel; // symmetric axis is determined as z ...
-
... latency; latency = latency ?? { server.latency }; super.prSend(server,latency); SystemClock.sched(latency,{ bundlesSent = bundlesSent.add( this ); }) } clumpedSendNow { arg server; if(messages.notNil,{ messages.clump(10).do({ arg bundle,i; ...