MIDI clock in: clock, start, stop and song position into the transport #166

Open
opened 2026-10-06 16:24:14 +00:00 by bcox · 1 comment
Owner

bcox asked on 2026-10-06 for a ticket for each gap docs/modular-gaps.md names without one, whether or not it is ever done. Engine claims are from reading the tree at 6a3fede9 on main. Nothing here is built, measured or listened to.

Summary

The MIDI decoder discards real-time and system-common bytes (midi/decode.h), and nothing in the tree syncs the transport to an external clock; #47 is tempo inside the song. A modular or a DAW that sends MIDI clock cannot drive the sequencer's tempo or position.

What the tree has

  • midi/clock_pair.h and queue_anchor.h, which put the sequencer's queue time onto the audio clock; the transport in control/transport.h; the host lane's locate and jump.

The work, as a sketch

  • Decode F8, FA, FB, FC and song position; a tempo estimate from clock intervals on the audio clock, offered to the sequencer as a tempo override; start, stop and continue as transport asks; song position as a locate. The sequencer thread may not wait, so the estimate is a value it reads.

Open

Who owns the tempo while synced, the song's tempo track or the external clock, and what a tempo ramp in the song means then.

bcox asked on 2026-10-06 for a ticket for each gap `docs/modular-gaps.md` names without one, whether or not it is ever done. Engine claims are from reading the tree at `6a3fede9` on `main`. **Nothing here is built, measured or listened to.** ## Summary The MIDI decoder discards real-time and system-common bytes (`midi/decode.h`), and nothing in the tree syncs the transport to an external clock; #47 is tempo inside the song. A modular or a DAW that sends MIDI clock cannot drive the sequencer's tempo or position. ## What the tree has - `midi/clock_pair.h` and `queue_anchor.h`, which put the sequencer's queue time onto the audio clock; the transport in `control/transport.h`; the host lane's locate and jump. ## The work, as a sketch - Decode F8, FA, FB, FC and song position; a tempo estimate from clock intervals on the audio clock, offered to the sequencer as a tempo override; start, stop and continue as transport asks; song position as a locate. The sequencer thread may not wait, so the estimate is a value it reads. ## Open Who owns the tempo while synced, the song's tempo track or the external clock, and what a tempo ramp in the song means then.
Author
Owner

Also: HUI control

Also: HUI control
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bcox/tymbal#166
No description provided.