-
Notifications
You must be signed in to change notification settings - Fork 14
Note On with velocity 0 is sent as Note Off on macOS #31
Description
The Midi spec says a Note On message with velocity 0 should be treated as a Note Off message. The Mackie Control spec, on the other hand, says that the release of a button should be reported as a Note On message with velocity 0.
When I make a call to IMidiOutputDevice.Send() with a NoteOnMessage with velocity 0; this is sent as a Note On (90 xx 00) on Windows but is sent as a Note Off (80 xx 40) on macOS.
Some daws have implemented the Mackie Control protocol strictly after the Mackie spec, meaning that they require a Note On/vel 0 message and ignore Note Off messages. My app doesn't work with these daws since the wrong Midi message is sent.
How can I ensure the Note On message is sent as I have defined it on macOS and not translated to a Note Off message?