Page 1 of 1

Maximum SysEx length?

Posted: Tue Jun 02, 2020 10:07 pm
by agawley
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?

Re: Maximum SysEx length?

Posted: Wed Jun 03, 2020 6:40 pm
by hoffman2k
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.