JACK_MIDI_CLOCK(1)
π JACK_MIDI_CLOCK π
okay bestie, gather round, because we're talking about jack_midi_clock β aka the JACK MIDI Beat Clock Generator, aka the little guy who keeps your synths on beat. it's a User Commands situation (manual section 1, iykyk) and honestly? iconic. β¨
πΈ SYNOPSIS πΈ
jack_midi_clock [ OPTIONS ] [JACK-port]*
π DESCRIPTION π
jack_midi_clock is a JACK app that generates MCLK (MIDI clock) from the JACK transport. that's it, that's the whole vibe. it takes the transport and turns it into beat clock messages so everything downstream stays locked in. π₯
β¨ OPTIONS β¨
-b <bpm>,--bpm <bpm>β sets the default BPM. this is your fallback, bestie: it kicks in when there's no jack timecode master available. π-B,--force-bpmβ straight-up ignores the jack timecode master. not me ghosting the timecode master π-d <sec>,--resync-delay <sec>β how many seconds to wait between the'song-position'message and the'continue'message. the pause that lets everyone catch up. π«Ά-J,--jitter-level <percent>β adds artificial jitter to the signal, from0..20%. default: off (0). chaos mode, but make it rhythmic. π-P,--no-positionβ do not send song-position (0xf2) messages. silent on position, loud on everything else. π-T,--no-transportβ do not send start/stop/continue messages. transport updates? we don't know her. π-s,--strict-bpmβ interprets tempo strictly as beats per minute. the default, for the record, is quarter-notes per minute. so this one changes the whole meaning of your BPM number, bestie, be careful. β-h,--helpβ displays this help and exits. classic. π-V,--versionβ prints version information and exits. slay. π
jack_midi_clock sends a MIDI beat clock message whenever the jack-transport is rolling. it also sends start, continue and stop MIDI realtime messages whenever the transport changes state β unless the -T option is used.
so for jack_midi_clock to actually send clock messages, a JACK timecode master has to be present and providing the tempo map (bar, beat, tick). alternatively, you can use the -b option to set a default BPM value. if you give a value larger than zero, it'll be used when there's no timecode master around. and combined with the -B option? it can be used to override and ignore the JACK timecode master entirely, and act only on transport state alone. main character energy fr fr. β¨
either way β and this part matters β jack_midi_clock will never act as timecode master itself. no cap.
note that song-position information is only sent if a timecode master is present and the -P option is not given.
to let external synths accurately sync to song-position, there's a two second delay between the 'song-position changed' message (which, psst, is not a MIDI realtime message) and the 'continue transport' message. that delay is configurable with the -d option, and it's only relevant if playback starts at a bar|beat|tick other than 1|1|0 β in which case a 'start' message gets sent immediately. π¦
jack_midi_clock runs until it receives a HUP or INT signal, or until jackd is terminated. π
see also: jack_transport(1), jack_mclk_dump(1)
π€ REPORTING BUGS π€
found a bug? tell Robin, he wants to know:
- Report bugs to Robin Gareus
<robin@gareus.org> - Website:
https://github.com/x42/jack_midi_clock/
π COPYRIGHT π
- Copyright Β© GPL 2013 Robin Gareus
<robin@gareus.org> - Copyright Β© GPL 2009 Gabriel M. Beddingfield
<gabriel@teuton.org>
and that's the whole page, bestie π«Ά this was jack_midi_clock version v0.4.3, dated October 2016, living its truth in the JACK_MIDI_CLOCK(1) section. bye now, go sync something. πβ¨π
π¦ where this page comes from
- debian bookworm: jack-midi-clock 0.4.3-1+b1 Β· GPL-2.0-or-later
- debian trixie: jack-midi-clock 0.4.3-2 Β· GPL-2.0-or-later
- ubuntu jammy: jack-midi-clock 0.4.3-1 Β· GPL-2.0-or-later
- ubuntu noble: jack-midi-clock 0.4.3-2 Β· GPL-2.0-or-later
- ubuntu questing: jack-midi-clock 0.4.3-2
- ubuntu resolute: jack-midi-clock 0.4.3-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: jack-midi-clock 0.4.3-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms