summaryrefslogtreecommitdiff
path: root/src/mus2mid.c
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.
2012-12-23Add standalone build target for mus2mid binary.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2551
2010-02-05Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1845
2010-01-30Rename mus2mid functions to be consistent with coding standard.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1833
2010-01-29When doing a MUS to MID conversion, allocate MIDI channels so that theSimon Howard
lowest-numbered MIDI channels are used before higher-numbered ones. Fixes ear-piercing whistle sound in the MAP05 music when playing with timidity and EAWPATS (thanks entryway / HackNeyed). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1831
2010-01-29Fix indentation/style etc. in mus2mid.c.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1830
2008-09-06Remove includes of doomdef.h where possible, move generic parts into topSimon Howard
level. Subversion-branch: /branches/raven-branch Subversion-revision: 1204
2008-01-22Use MEM_SEEK_SET for memio, not SEEK_SET.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1012
2007-08-31Use gcc packed attribute for all structures read/written to disk. ThisSimon Howard
fixes architectures where structure fields are aligned differently to optimise reads, causing the game to crash. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 960
2007-08-24Initialise tracksize variable before mus2mid conversion, otherwise it isSimon Howard
not reset the next time we convert a mid Subversion-branch: /trunk/chocolate-doom Subversion-revision: 958
2007-03-15Use SDL for endianness byte swapping. m_swap.c removed; m_swap.h renamedSimon Howard
to i_swap.h. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 857
2006-11-15Use booleans in place of ints where possible.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 753
2006-11-15Fix endianness problem in mus2mid code (thanks denis)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 752
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-07-28Try to convert MUS even if the MUS header is not present. The new codeSimon Howard
plays the deca.wad titlescreen music properly! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 568
2006-07-22New mus -> mid conversion code thanks to Ben Ryves <benryves@benryves.com>Simon Howard
This plays back a lot of music closer to Vanilla Doom - eg. tnt.wad map02 Subversion-branch: /trunk/chocolate-doom Subversion-revision: 566