arduino_midi_library icon indicating copy to clipboard operation
arduino_midi_library copied to clipboard

Ensure correct message length after parsing

Open fabien-gigante opened this issue 4 years ago • 0 comments

After parsing the message length was not properly set in multiple cases. Which doesn't allow for instance to use those messages as is with send(). Typical usage below.

  LocalMIDI.setHandleMessage([](const midi::Message<128>& msg) { RemoteMIDI.send(msg); });
  RemoteMIDI.setHandleMessage([](const midi::Message<128>& msg) { LocalMIDI.send(msg); });

fabien-gigante avatar Dec 29 '20 15:12 fabien-gigante