Repro:
-
Use an app to send sysex data to Grid (macOS: https://www.snoize.com/SysExLibrarian/)
-
Use attached zip syx for reference
setmidichannel2.syx.zip
-
Add code to module:
self.sysexrx_cb = function(self, sysex, grid_headers)
print("trigger")
end
- "trigger" is not visible in debug logs
Expectation
self.sysexrx_cb should show the sysex data.
Considerations
Format the incoming hex data to integers. https://stackoverflow.com/questions/37411564/hex-to-int32-value