[alsa-devel] when aplaymidi exits the sustained notes are played forever.

GitHub issues - opened github at alsa-project.org
Wed Jul 3 22:08:32 CEST 2019


alsa-project/alsa-utils issue #22 was opened from mercuriete:

Transfered from here:
https://github.com/OpenTTD/OpenTTD/issues/7637

### Expected Result
All notes are stoped before exit aplaymidi

### Actual Result
Notes are sustained forever and I have to press the panic button on Qsynth

### Steps to Reproduce

1. Open Qsynth with fluid-soundfonts
2. do this: ```aplaymidi --port 128:0 file.mid```
3. do control+c to kill aplaymidi
4. Qsynth plays a note forever.

### Possible fix

Capture SIGINT and send midi off messages before exit properly.

Issue URL     : https://github.com/alsa-project/alsa-utils/issues/22
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list