I was able to reproduce this in WaveForm.
- Create a track
- Select a mid input (I do my tests with the MPK mini but any keyboard will work).
- Select a plugin (I was using the PAPU_64B but again, I think any plugin will do it).
- Start recording
- Press keys as fast as possible
At some point, you will get one of the notes sustaining without having to press any keys on the keyboard. The note will turn off when you stop the recording.
The problem seems to be in the following:
MidiInputDeviceNode::processSection
I’ve put traces to try to understand the flow.
When the note hangs, I can see that the midi notes On do not equal the midi notes Off.
Where as the midi On and Off always match in the following:
MidiInputDeviceNode::handleIncomingMidiMessage
If anyone has a suggestion please let me know.
Thanks