react-midi-hooks
react-midi-hooks copied to clipboard
Treat notes with velocity of zero as off
See this issue for more details https://github.com/nicorobo/react-midi-hooks/issues/20
TL;DR: some midi instruments send a "note on" message with velocity zero instead of "note off" messages. Prior to this change, the useMidiNotes hook would never remove notes from the list when using these instruments. Now those instruments work like other ones.