Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

The D_DDTBLU Disease

Recommended Posts

EE has it, since upgrading to the newest SDL_mixer that fixes the MIDI deadlock when looping.

If you have no idea what I mean, I mean the phenomenon where a note at the end of the song is not cut off and then proceeds to sustain over nearly half the song until it by chance finally plays that note again.

ZDoom used to suffer from this and then abruptly stopped. Anybody know a quick-fix solution?

I am *not* averse to detecting the lump by its CRC32 and manually tweaking the output of mmus2mid for it if that's what it takes. I'd need to know what kind of event to insert at the end of the event stream, mainly, that would cause the note to end like it was obviously supposed to do under DMX playback.

Share this post

Link to post

Thought I'd note a solution of adding a 00 B0 7B 00 (all notes off) event to each track just before the 00 FF 2F 00 end-of-track indicator seems to work. I just hope it's not overkill.

Special thanks to ConSiGno for finding a correct reference explaining how to use that event.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this