Global Message sysex : Keymap structure

I’m having issues parsing the keymap structure from machinedrum sysex messages/dumps.

I gather that the structure is 128 bytes array, each cell matching a midi note (from 0 to 127) and the value being what the key is assigned to (from 0 to 15 the drum track trigger notes, 16 to 31 pattern bank A trigger notes, etc.).

Albeit when I try to parse that information I’m left with bunch of 0 and 127 values, and the remaining seems to not correspond.

I’ve tried to offset the drum track trigger notes with -6 but it only works for few of the tracks.

Wonder if anyone came around to parse this properly?

Please let me know if you want more details about the problem.

I had something stupid missing, the conversion from data to bytes… now the structure makes more sense :slight_smile:

1 Like