Page 1 of 1

[2.0.05] Tied notes in MIDIs cause the track to skip forward

Posted: Thu Jul 23, 2015 22:06
by Mogul
This is a sound bug, so I'm not sure this is the best place to post. Interesting bug. It involves some musical jargon so bear with me. If you test it, you will hear the problem right away, even if you don't know the definitions.

A musical "tie" is when two different note values are joined together to make a longer note. For example, you might have two quarter notes side by side in a song and if you tie them, what you hear is a two-beat-long note without any interruption. In certain MIDI files, in ZDoom, when there is a tied note in the MIDI, it skips tying them and skips straight ahead in the MIDI file. I've tested this in ZDoom, GZDoom, and Chocolate Doom. Only Chocolate can play the MIDI back correctly. This was tested with all MIDI emulation options in ZDoom.

The wad I tested was Freedoom Phase 1. Map e2m7. Listen to the track for a few moments and you'll instantly hear what I'm talking about.
You can get the latest Freedoom Phase 1 here: http://freedoom.soulsphere.org/

For some reason, "vanilla-style" engines have no trouble, but ZDoom skips forward. Very strange.

Re: [2.0.05] Tied notes in MIDIs cause the track to skip for

Posted: Fri Jul 24, 2015 0:48
by Rachael
It's not necessary to cross-post.