USB/MIDI Sync issues - research done. small workaround suggested.

I've done a bit of research on the sync issues that some have been experiencing. This regards syncing the LXR as a slave device when the master device is a DAW. I've tested this against Reaper (my primary daw), FL Studio, and Ableton Live. I've had problems with FL Studio, but no problem syncing with Reaper, and Ableton Live. I am using an old version of live (5.x). As long as you have your midi settings correct (listed below) it works fine. I've had it syncing fine with both USB as well as midi (using another midi interface to send on standard din cable). I was able to start, stop, change the tempo while playing, and everything stays fully in sync

Now we come to FL Studio. This is a strange animal when it comes to sending midi sync. What I've found is that in the case of Reaper, and Live, they send midi sync like this:
start
timing clock
timing clock
...
stop

FL Studio does it like this:
start
stop
spp
spp
continue
timing clock
timing clock
...
stop

So what they do is start, immediately stop, send song position pointer (twice) then issue a continue.
The LXR does not handle midi continue.

Julian: I've made a workaround that simply adds "case MIDI_CONTINUE:" in midiParser_handleSystemByte right below the case MIDI_START. It's not perfect as it just behaves like a midi_start (when it should actually continue from last position), but it gets FLStudio working, and anything else that sends continue. I've pushed this to my rudeog fork at https://github.com/rudeog/LXR in case anyone needs to have this working now, but I am sure you can incorporate a better fix into the official firmware at some point (that continues from current pos).

With that minor fix, I have FL Studio working well for all actions (as long as you do "Stop" and not "Pause" before starting the sequencer)

Here are my settings for Reaper:
In Midi Devices, under midi outputs dbl click Sonic Potions USB MIDI and enable output to device, and send clock/spp to the device
Here are my settings for FL Studio:
In midi settings, output list. Make sure Sonic Potions USB MIDI has "send master sync" checked. Set port to 0 (not sure this matters)
Here are my settings for Live:
In preferences, midi sync in output section make sure Sonic Potions USB MIDI has Sync set to on. None of the other settings have a bearing when LXR is slave.
Sign In or Register to comment.