react-midi-hooks icon indicating copy to clipboard operation
react-midi-hooks copied to clipboard

Treat notes with velocity of zero as off

Open pcardune opened this issue 1 year ago • 0 comments

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.

pcardune avatar Aug 09 '24 20:08 pcardune