SamplerBox icon indicating copy to clipboard operation
SamplerBox copied to clipboard

Handle Panic Key

Open hairpeace0 opened this issue 9 years ago • 5 comments
trafficstars

Receive Panic Key (messagetype=11, note=123) and disable all playingnotes

hairpeace0 avatar Mar 28 '16 23:03 hairpeace0

Hello @hairpeace0, thanks for this PR! I'm a bit late of 5 years lol I wanted to merge your PR, after a few small edits. Could you edit your PR / commits, to include the Allow edits from maintainers option. This allows me to do a few modifications before merging:

josephernest avatar Aug 08 '22 19:08 josephernest

Useful note for later: http://midi.teragonaudio.com/tech/midispec/ntnoff.htm

All Notes Off
Number: 123

Turns off all notes that were turned on by received Note On messages, and which haven't yet been turned off by respective Note Off messages. This message is not supposed to turn off any notes that the musician is playing on the local keyboard. So, if a device can't distinguish between notes played via its MIDI IN and notes played on the local keyboard, it should not implement All Notes Off. Furthermore, if a device is in Omni On state, it should ignore this message on any channel.

Note: If the device's Hold Pedal controller is on, the notes aren't actually released until the Hold Pedal is turned off. See All Sound Off controller message for turning off the sound of these notes immediately.

josephernest avatar Aug 08 '22 21:08 josephernest