Skip to content

Conversation

@doctea
Copy link
Contributor

@doctea doctea commented Nov 8, 2025

Congrats on 2.3 release @midilab ! :D

This patch needs further testing, but provides the option to ensure that uClock doesn't continue playing if it is in external clock mode and the external clock stops ticking (eg, if cable is unplugged, host device crashes, etc).

This is essential to ensure that devices using uClock and synced to external clocks behave the same way as other devices and sequencers that respond to analogue clock pulses (commercial devices manufactured by eg Behringer, Modal, Arturia, DIY/open-source projects and pre-2.3 uClock devices).

This behaviour mode means that if the external clock pulses stop coming for any reason then the uClock device will wait patiently for the next clock without progressing - instead of the default behaviour of continuing to run its internal clock at the last detected BPM.

This also means that uClock devices can never get significantly ahead of the external master clock (can only get ahead of the external clock by a length of time slightly under the duration of just one note).

@doctea doctea marked this pull request as ready for review November 25, 2025 22:18
@midilab
Copy link
Owner

midilab commented Dec 3, 2025

Hey @doctea

It took some time but the release is up!

How did you test the code against external environment so far?

@midilab midilab changed the base branch from main to develop December 23, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants