I am using the following code in LUA.
I get a strange message like this when sending a sysex dump (650 bytes) to Electra.
What does that mean, does Electra lose midi bytes?
I tested a much shorter (40 bytes) midi sysex message and then I didn’t get any error.
UPDATE:
I asked ChatGPT. If you have a large SysEx message (for example, hundreds of bytes), your for loop will print a huge amount of text.
Some environments (such as REAPER ReaScript, MIDI monitors, or embedded Lua) may truncate or corrupt the log output when there’s too much printed data.
Is this the correct answer Martin?
I have seen that it calculates correctly when it comes to the length of the sysex message so maybe this is not a problem…

