-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
native_midi: Send reset messages on track stop
The ALSA device we're sending messages to will continue playing them even if the program quits, and we don't want to leave notes hanging. So when stopping the current track, send the "notes all off" and "reset all controllers" messages to every channel, and also send an ALSA reset event as well for good measure (the Timidity++ daemon seems to respond to it)
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters