Forums > Java

Max global transport slaved to LIVE's master clock: MIDI routing

March 16, 2012 | 10:52 am

Two computers.
My friend is sending me real time messages from his Live master clock via MIDI cable, i can detect the stream of data on my MIDI monitor, but i don’t know how to make the global transport to follow.
I’ve noticed a few posts regarding Max clock being the master to external devices, but i’m interested in receiving his clock and syncing it with mine.

What in terms of midi routing should be taken care of on both computers before i can detect the real time messages in Max?
How do i slave my global transport to these external messages?

Thank you for helping!


March 16, 2012 | 12:28 pm

Here is a patch for start/stop synchronization. It assumes that master and slave are set to the same tempo.
Tempo synchronization could also be done, but it’s more complicated and not perfectly accurate.

– Pasted Max Patch, click to expand. –

March 17, 2012 | 4:31 pm

Thank you!

With your help I’m synchronizing tempos like this, temporary solution. Take the 1st of the 24 streaming clock messages per click, make it set the tempo and trigger the transport.

Is there any more direct way for global transport to be synced to Live’s master clock?
And should i use Utp cable or Midi cable?

Thanks again!

– Pasted Max Patch, click to expand. –

March 17, 2012 | 7:59 pm

A more direct (and modern) approach would be using M4L and OSC (instead of MIDI).
From an M4L device in Live you could send start/stop and the current value of tempo directly.
And receiving OSC messages in Max is quite simple.


Viewing 4 posts - 1 through 4 (of 4 total)