summaryrefslogtreecommitdiff
path: root/src/midifile.h
AgeCommit message (Collapse)Author
2014-10-08midi: Fix "D_DDTBLU disease".Simon Howard
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.
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2009-09-01Loop songs (when appropriate)Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1654
2009-08-30Initial, broken, volume level setting.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1644
2009-08-30Initial/basic MIDI track playback.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1643
2009-08-29Rename MIDI_OpenFile to MIDI_LoadFile, remove unneeded structureSimon Howard
packing. Subversion-branch: /branches/opl-branch Subversion-revision: 1636
2009-04-15Parse MIDI events that reuse the event type from the previous event.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1499
2009-04-13Extend MIDI file code to support reading multi-track files.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1498
2009-04-03Fix up MIDI reading code; add test code.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1494
2009-03-28Initial MIDI file parsing code.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1489