[Fluxus] Fluxa sync question
David Griffiths
dave at pawfal.org
Mon Aug 22 06:10:04 PDT 2011
Hi Kassen,
Sorry for the delay, holiday times...
On Mon, 2011-08-15 at 23:03 +0200, Kassen wrote:
> I'm trying to implement MIDI sync for Fluxa. I now have a function
> that gets me the time of the last clock increment and one that gets me
> the duration of a midi beat, both according to the set time-signature.
> I'm getting those from within the midilistener.cpp code to avoid
> frame-rate induced latency and jitter. This seems to work ok, so far.
Super!
> However, now I need to understand how the existing sync stuff works
> and I'm having a bit of a hard time with that. The only way I can make
> sense of it is if you would be using "sync-tempo" as the last line of
> your "seq" function when performing with sync. Is that correct?
Yes, this allows us to ignore the tempo if we want, divide it by a whole
number for speeding things up, or just make it wacky during a live
performance (for example changing it every beat).
> I'm also a bit lost on the use of the "on-sync" function/variable. Is
> that one meant for debugging? I can't see any conditions under which
> that one would or could be used.
It looks like it's a debugging thing for checking messages are still
being received, I can't remember what it was used for now.
> Sorry to bother you with this, but without the other half of the
> syncing process it's all a bit hard to understand.
Yes, none of it is that easy. Well done for sticking with it...
cheers,
dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20110822/a4a84a4d/attachment.sig>
More information about the Fluxus
mailing list