If I press a key on the MIDI keyboard, I see a message coming in in the MIDI monitor on the PC. Only the first byte is correct however:
90 00 00
80 00 00
Adding some Serial.println() statements in the onSerialMessage() method confirms that message contains the correct channel, data1 and data2. The length attribute is 0 however. Forcing it to 3 before sending it out to MIDICoreUSB.send() results in correct MIDI note on/off messages. This won't work for messages with different lengths of course.
The MIDI_DIN2USB doesn't seem to work properly.
Versions used:
Setup (tested working using another library):
If I press a key on the MIDI keyboard, I see a message coming in in the MIDI monitor on the PC. Only the first byte is correct however:
Adding some Serial.println() statements in the onSerialMessage() method confirms that
message
contains the correct channel, data1 and data2. The length attribute is 0 however. Forcing it to 3 before sending it out to MIDICoreUSB.send() results in correct MIDI note on/off messages. This won't work for messages with different lengths of course.