Maximum SysEx length?

Learn about building and using Max for Live devices.
Post Reply
agawley
Posts: 5
Joined: Tue Jun 02, 2020 10:03 pm

Maximum SysEx length?

Post by agawley » Tue Jun 02, 2020 10:07 pm

I am building a Patch Editor for the Volca FM / DX7 in M4L. I've got it working really well but am having trouble with loading 32 program carts. I can load a single program SYX, but the 32 program SYX seems to nondeterministically fail a lot of the time.

In my code the SYX file gets parsed into a list and then the list gets passed direct to midiout. Does anyone know if there is a list limit size on midiout?

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: Maximum SysEx length?

Post by hoffman2k » Wed Jun 03, 2020 6:40 pm

2 things to look out for:
- Zl objects have limits that need to be changed. I think default is 256 or 512.
- You need the latest version of Max, it has a fix for another Sysex length issue.
https://cycling74.com/forums/max-8-1-4-released
Max for Live: increase sysex buffer to match Live's limits (256k per device)
I don't think MIDIOUT has a limit, but you can iter the list if that is the issue. Just make sure no other MIDI reaches midiout while you're sending Sysex in individual messages.

Post Reply