midi-relay
midi-relay copied to clipboard
SysEx Message fails always
I'm trying to send an SysEx Message like this:
f0 43 10 3E 11 01 00 42 00 26 00 2F 00 00 00 00 00 F7
Unfortunately i get the following output:
Sending SysEx MIDI Message to Port: USB MIDI Interface
Not a valid SysEx message.
[ 'F0', '43 10 3E 11 01 00 42 00 26 00 2F 00 00 00 00 00 F7' ]
It looks like there is a bug in the if statement (& else) in line 980.
When my input value messageArray[0]
equals F0
, then Line 980 will be true and Line 982 will lead to NaN
.
Therefore line 987 will be true and the execution stops.
Or do i miss a thing here?
https://github.com/josephdadams/midi-relay/blob/4cfd6610f40f0853fb78e048359e16c0be6e5103/main.js#L979-L992