diff --git a/src/sound/music_mus_midiout.cpp b/src/sound/music_mus_midiout.cpp index f87754e5a..9c25f6ce2 100644 --- a/src/sound/music_mus_midiout.cpp +++ b/src/sound/music_mus_midiout.cpp @@ -323,8 +323,9 @@ DWORD *MUSSong2::MakeEvents(DWORD *events, DWORD *max_event_p, DWORD max_time) mid1 = CtrlTranslate[t]; mid2 = MusBuffer[MusP++]; if (mid1 == 7) - { - mid2 = VolumeControllerChange(channel, mid2); + { // Clamp volume to 127, since DMX apparently allows 8-bit volumes. + // Fix courtesy of Gez, courtesy of Ben Ryves. + mid2 = VolumeControllerChange(channel, MIN(mid2, 0x7F)); } } break;