Open tomkail opened 5 years ago
Thanks for the report. Hmm, I have never seen a device that sends a note-on message with data2=0. Which device (drum kit) are you using?
Axus AXK2 (It's a cheap one). However, it happens on my Casio keyboard too. Just tested again on a fresh version of the package, here's the result of a note up/down via keyboard:
Note pressed NoteOn: Ch1,48,0.6220472
Note released NoteOn: Ch1,48,0 NoteOff: Ch1,48
Happens to me too on M-Audio O2.
Tested on OSX with a drum kit and keyboard. On hitting a drum I expect to see a note on and an note off. What I see is two note ons and an a note off. The second note on has data2 of 0. Should the system avoid registering note on if note off is detected?