MIDI Clock rate

Hi,

I was wondering how to set the bpm of a midi clock within MIDI translator pro? I can see that an outgoing MIDI message timing clock can be sent, but I can’t see how to set the BPM of the clock.

I’ve had a look in the manual and the forum and can’t find the answer to my question. I understand that the output may not be completely precise, due to the 1ms limitation of timing in the software, but as I’m just trying to send a MIDI out to loosely sync any delay effects to a live drummer, it should be adequate for my needs.

Thanks

Hi and welcome to the Bome community!

This should get you started. We use a repeating timer to generate clock.

Translator 0.0 starts the clock by setting a repeating timer. We toggle the value of ga to determine if the clock is running. I
Translator 0.1 kills the timer but only if the clock is running,
Translator 0.2 actually send the clock message. We use the global variable gb to determine the clock rate
Translator 0.3 used CC 0 to change the global variable gb and restarts the clock at the new rate.
I use a little math to convert the value stored in gb to a clock rate. This way we can slow it down more if we want to.

MIDI-Clock-Generator-2023-03-14.bmtp (2.0 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz

Hi Steve,

That was very useful, thank you.

1 Like