Live Midi Clock
live_midi_clockSends MIDI clock from a live set to a port so external DAWs or drum machines follow the set’s tempo and start on its bar line. Use it to sync playback with another app or hardware.
Instructions
Send MIDI clock from the live set to a port, so Ableton, FL Studio or a drum machine follows the set's tempo and starts on its bar line. Reach for it when another app or a hardware box should play in time with the set. 24 pulses per quarter note at the set's tempo (one tempo per set) start at once, so the receiver can lock to it; Start goes out right before the first pulse of the next bar line, which becomes the other app's bar 1. position=True sends that bar's Song Position Pointer first and Continue instead of Start, for a DAW that follows song position (it lands on the same bar number). on=False sends Stop; the set's end sends Stop too. offset_ms: as live_midi_out (shared by the port). The other app must take clock in from that port: in Ableton, the port's Sync on (Preferences, Link/Tempo/MIDI), then EXT; in FL Studio, the port enabled as an input in MIDI settings with its sync on, then external sync. With no port: what is sending (live_status says it too).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| port | No | ||
| project | Yes | ||
| position | No | ||
| offset_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |