Midi Clock Latency for dummies

Official support for: mutools.com
Post Reply New Topic
RELATED
PRODUCTS

Post

hallo everybody
I'm trying to get a steady sync from midi clock output AND midi hardware output
My audio interface is a Focusrite Scarlett 18i8, which is 256 fixed buffer size

I think I have to tweak the following parameters:

- Audio Setup: Output Latency Correction
- Preferences > Audio > Audio File Stream Block Size
- Preferences > Audio > Audio Recording Latency Compensation
- Preferences > Midi > MIDI Output Time Shift


I'm a bit confused: when I get a steady midi output, midi clock is off and viceversa
Any help ?
thanks :party:

Post

The first 3 mentioned prefs are not related to MIDI.

Only the last one "MIDI Output Time Shift" might be useful if your audio or MIDI drivers are not reporting correct latencies or if another part of your system would cause a MIDI out timing shift.
Normally you should not need it, MIDI is sent out in sync with the audio.

Post

You've not really explained what you're trying to achieve or what you're expecting.

If you have MuLab playing events into a synth at 120 bpm and emitting MIDI notes to MIDI out as well, are you saying they're not both at 120 bpm? Or that there is an offset between the MIDI event and the audio event? If the latter, then you need to look at the audio buffer size you're using, calculate how much time that equates to and delay the MIDI output to allow the audio to catch up. Ideally your audio buffer size would be small enough this wouldn't be a problem (1041 messages per second is the approximate limit for MIDI event rate, jitter within this is the main issue if you don't have clock synchronisation; and it's pretty easy to swamp 1041 messages per second if you've got expression controllers across multiple channels and you're not thinning the data...).

Post

The MIDI signal (sequences/clip) is delayed compared to the audio
The MIDI clock is delayed about double.
Anyway, I managed using the MIDI Output Time Shift: I had to enter a value of -17000 (the unit of measurement is unclear to me :o) and it's steady enough.

Post Reply

Return to “MuTools”