Package: libsdl-mixer1.2
Version: 1.2.8-6+b1
Severity: normal
Tags: patch

When using timidity MIDI playback, music played in MIDI channels 10 and
16 are interpreted as drums.  Really, only channel 10 should default to
drums, according to the MIDI standard; drums on channel 16 are a
Microsoft substandard. :)

To fix this misfeature, please apply the attached patch.  Contrary to
what the comment above the affected line says, this is *not* a runtime
option in SDL_mixer, as far as I can tell.
--- sdl-mixer1.2-1.2.8.orig/timidity/config.h	2007-07-02 02:03:51.000000000 +0000
+++ sdl-mixer1.2-1.2.8/timidity/config.h	2009-12-03 22:44:42.000000000 +0000
@@ -35,7 +35,7 @@
    On the other hand, some files know that 16 is not a drum channel and
    try to play music on it. This is now a runtime option, so this isn't
    a critical choice anymore. */
-#define DEFAULT_DRUMCHANNELS ((1<<9) | (1<<15))
+#define DEFAULT_DRUMCHANNELS (1<<9)
 
 /* A somewhat arbitrary frequency range. The low end of this will
    sound terrible as no lowpass filtering is performed on most

Reply via email to