Problem: on some synthesizers like Yamaha TG33 a sustaning sound remains on when stopping playback in the middle of a note.
Reason: Qtractor sends All Sound Off (120) and All Notes Off (123) on STOP. Synthesizer does not support CC 120, CC 123.
Proposed functionality: send NOTE OFF for each note on at the time of stop.
Also proposing panic button "mode 2": also send NOTE OFF for keys[0..127] on all the used ports/channels.
Background info: MIDI specification tells about All Sound Off and All Notes On: "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 / All Sound Off."
Conclusion: synthesizers do not need to support CC 120, 123.
I've just been through the process of tracking down this issue as well, with an Ensoniq EPSm sampler that likewise doesn't support All Sounds/Note Off messages.