diff options
author | Simon Howard | 2014-10-08 00:12:50 -0400 |
---|---|---|
committer | Simon Howard | 2014-10-08 00:12:50 -0400 |
commit | 9e9bb23d201c68a63690f96ba0c73110f4d999f4 (patch) | |
tree | c9f439fb9ee6686be7293c2c16a86a18ddd5fcae /opl/opl_queue.c | |
parent | e4d9b85aa45fe31cb9b18a1ac8e9a95c7bc6ea5b (diff) | |
download | chocolate-doom-9e9bb23d201c68a63690f96ba0c73110f4d999f4.tar.gz chocolate-doom-9e9bb23d201c68a63690f96ba0c73110f4d999f4.tar.bz2 chocolate-doom-9e9bb23d201c68a63690f96ba0c73110f4d999f4.zip |
midi: Fix "D_DDTBLU disease".
The Doom II MAP14/MAP20 music has a hanging note at the end of the
track that is never turned off. If this is not reset when the track
loops, there is a continuous (and annoying) drone sound throughout
the next iteration of the song. Some information is here:
http://www.doomworld.com/vb/source-ports/66802-the-d-ddtblu-disease/
This changes the mus2mid code to generate an "all notes off"
controller event at the start of the MIDI track. This is specifically
done at the start and not the end of the track because otherwise the
looping of tracks like D_RUNNING is affected.
Thanks to a whole host of people for help on this: @plumsinus for
reporting the bug, @bradharding for devising a fix as part of Doom
Retro, and Quasar for feedback and his own fix to the Eternity Engine.
This fixes #412.
Diffstat (limited to 'opl/opl_queue.c')
0 files changed, 0 insertions, 0 deletions