Midi Device Managers' Create SysEx bug

Even though I am aware there is little hope it will be addressed, I am reporting a bug in the ‘Create SysEx’ window of the Midi Device Manager in Cubase Pro 15. Here are the steps to reproduce it:

  • Studio → More Options → Midi Device Manager
  • Install Device → define New
  • give a Name, leave selected 16 Identical Channels and Channel Parameters and select SysEx Parameters
  • Open Device
  • select Channel 1 → Add Parameters
  • Create SysEx
  • Length: 12
  • Checksum: C5 Roland Checksum
  • Remove value: Value 1 to Value 7 (leave just Value 8 and Value 9)
  • Hex row, 1 to 7 columns, enter this Roland SysEx: 41 10 42 12 40 11 17
  • Save (Ok)
  • look at the SysEx string above the Value, Formula etc. columns: F0 41 10 42 12 40 11 17 00 18 00 F7
  • it should be F0 41 10 42 12 40 11 17 00 00 18 F7 instead
  • It seems LSB (position 10) and Checksum (position 11) bytes are inverted, i.e. the checksum (18) is shifted one position to left
  • this does not happen with the most common 1-byte data SysExes (length = 11), just with 2-bytes (and more?) data SysExes (MSB+LSB, length = 12)
    Thanks!

Hi, @Geppastro

Confirmed here. And in the search of a workaround, I tried to use the parameter dropdown menu, selecting in it SysEx Messages > 41 > Name instead and got this :

Obviously, the misplacement of the CheckSum byte is the same as obtained with your own repro. Granted, I’m not a SysEx messages guru, but AFAIK, the CheckSum byte should indeed always be at the last but one position of a given message string…
:face_with_raised_eyebrow:

Thank you Cubic13, I also tried all kinds of workaround, including analyzing and editing the exported XML (MIDI Device Manager → Export Setup): nothing works here.

Try to remove Value 9 as well. The checksum byte should just be zero without a value when you input the string.
By not assigning the checksum byte a value it works nicely on my side.


(I used another SysEx string than you but the second to last byte (57h) is the checksum, which gets calculated automatically). The third to last byte is the data byte = Value 9.

Can you show your input mask?

Maybe you mean Value 8? Seems the same here.

Also these 2 don’t work (the first one for 2-bytes nibblized data, i.e. the one that I actually need)

Ok, now I see what you mean. Unfortunately, this seems the only working combination, i.e. variable MSB + constant LSB + Checksum. [ ← EDIT: no, that does not work too] Instead, I actually need Both variables MSB and LSB (I also need them nibblized).

Originally I did not see your info that the issue only occurs when using more than one data byte.
I have now set up a parameter with two data bytes. I did this by deleting the value for the first data byte and defining the second data byte as a 14bit.


(in this screenshot I didn’t bother adjusting the static bytes and kept them all on 00h)

Cubase seems to transmit the data bytes correctly but the checksum byte is not getting calculated. It just remains on 00h.

It seems it doesn’t matter whether you send 2x4bit or 2x7bit, the checksum byte is not changing.
In case Steinberg fix it in the future, don’t forget to adjust the value range of the parameter:

I have little hopes…

Yes of course, thank you Johnny_Moneto

For future readers: actually, data bytes do not transmit correctly. If you look at your sequence, bytes 9-10:

06 12

07 11

08 10

09 0F

0A 0E

they should both increase or both decrease. Instead, the 1st increases 1 while the 2nd decreases 1. This behavior of the 2nd byte shows that it actually is the swapped Checksum

I don’t think this is how 2x7bit work.
Isn’t it (MSB x 128) + LSB ?
I will try to check whether the checksum overwrites the LSB before the combined value is calculated.

The progression should be:

MSB (H) LSB (H) CHECKSUM (H)
… … …

06 0F 03
07 00 11
07 01 10
07 02 0F
07 03 0E
07 04 0D
07 05 0C
07 06 0B
07 07 0A
07 08 09
07 09 08
07 0A 07
07 0B 06
07 0C 05
07 0D 04
07 0E 03
07 0F 02
08 00 10
08 01 0F

… , …

both MSB and LSB increase, checksum decreases. In your example above, MSB is byte 9, Checksum is byte 10, LSB is byte 11 (checksum and LSB swapped)

Yeah, I guess the bytes are swapped, the checksum is calculated, and then the value is determined. The checksum acts as the LSB due to the swapping, effectively allowing only 128 steps instead of 16384.

Thank you. I’ve checked previous Cubase versions I have on my PC: the bug was already there at least since Cubase SX3…

I wouldn’t be surprised if you find this issue in an Atari version of Cubase already.

Pre-SX versions had a totally different beast: the Studio Module. ATM I can’t reach my Atari Falcon to check…