-
... Relay.post = false; // turn off posting //////////////////////// // A very dumb clock example to show how you might integrate a clock with this // Master and slave clocks must share a common time base, e.g. using the NTP class // Ticks are ...
-
... vs] = cvs; ev.parent = CVEvent.groupEvent; this.player.add(ev) } task_ { |func, clock, quant| this.player.add(TaskPlayer(func,clock, quant)); } pattern_ { | pat, clock, event, quant | this.player.add(PatternPlayer(pat, clock, event, quant) ...
-
/** ddwOSCSyncClocks: Simple, minimalistic leader-follow clock sync across the network Copyright (C) 2019 Henry James Harkins This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public ...
-
... // for now. schedmidi = if(latency == 0.0) { {|f| f.value } } { {|f| thisThread.clock.sched(latency, f) } }; donecmd = { |cmd| if(midiCommandPending) { midiCommandPending = (midicmd !== cmd) } }; schedmidicmd = { |cmd| var func; func = Even ...
-
... r synced = false; ~d1.set(\diversion, { if(~s == \sync) { if(synced.not) { TempoClock.default = TempoClock(~cps ? 1.0).permanent_(true); Server.default.latency = ~latency; "synced tempo clock at tempo: %. Server latency: %".format(~cps, ~la ...
-
... to the ground. Unlike the PolyMachine , all the drops are run by the same tempo clock, but each drop can have different step count on the way down, thus getting different speed from the others. The step count is crucial for creating interes ...
-
... ion_({ |bt| m = [ \fill , \stroke ][ bt.value]; w.refresh }); w.refresh; ) ( // clock has arguments 'h', 'm' and 'secs' w = SCWindow ( "DrawIcon" ).front; d = Date .localtime; w.drawHook = { |window| DrawIcon ( \clock , window.view.bounds.i ...
-
... ndex, beat] 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 ...
-
... ynths.do({ |cutsynth| cutsynth.initCutSynth(this); }); } renderBlock {arg block,clock; cutsynths.do({arg cutsynth; cutsynth.renderBlock(block,clock)}); } //assumes everything within this group, doesn't bother with any destructors //for indi ...
-
... ) //edits by jonatan liljedahl: // - works for multiple routines using the same clock // - restart routines at t_start 0, so we get the behaviour of oldschool midi-synced hardware boxes: // 1 press start on master, slaves starts at zero // ...