Open Saskcwatch opened 11 months ago
Hi Thanks for creating the issue! Was this using the crate version (bevy 0.10) or using main?
@Saskcwatch Can you confirm that when you release the last element in the raw midi message is 0? Cause then we need to handled that case as well. It is because you keyboard is using a different approach to indicate a key release.
Hello,
First off all I tested it on the example that I got when cloning this repo so I would say main.
And secondly I'm almost sure that the last element beeing 0 signifies release. I kinda patched it myself by modifying the is_note_on
and is_note_off
functiuns in lib.rs to return self.msg[2] != 0
and self.msg[2] == 0
. But as you said this is something that may only work on my keyboard.
Hello, I'm using a M-Audio Keyrig 49 keyboard on Linux. When trying the input example I successfully connect to the key board but every time I press a key it reads as "Note On", even on release. It seems that everytime, the first number in the MIDI message is 144.