VOGONS

Common searches


First post, by sndwv

User metadata
Rank Member
Rank
Member

I've recently been re-playing Touché: The Adventures of the Fifth Musketeer. Can anyone confirm that there is a MIDI note that hangs about halfway through the opening level track 'Rouen' all the way to the end? It's fine on my Soundblaster X-fi, but on my Roland SC-50 it's as attached (note sticks at 0:54). I assume this would be the same on a SC-55 Mk. II and maybe SC-55 as well. I've extracted the .MID to play separately, with the same results.

Any idea what could be causing this and possibly how to fix it? Would be happy to attach the extracted .MID, but not sure if that's allowed.

Filename
rouen.wma
File size
1.51 MiB
Downloads
33 downloads
File comment
Rouen: stuck note @ 0:54
File license
Fair use/fair dealing exception

Reply 2 of 4, by sndwv

User metadata
Rank Member
Rank
Member

Wow, awesome! That's some extensive testing, thanks! So it seems the x-fi on-board MIDI not hanging is the exception.

If I would be able to 'fix' the MIDI file with editing software, would there be a way to re-pack it into TOUCHE.DAT?

(Was also using a UM-ONE (v.1) by the way)

Reply 3 of 4, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Channel 1 (clarinet) has erroneous note events at bar 33. The D4 note is turned on twice at the same time; the second follows the normal on-then-off pattern of events, but the first has off-then-on events that can lead to a "stuck" note depending on how the player software and/or synthesizer choose to interpret it.

The ideal way to fix it is to delete the first set of b0rked note events, but replacing the entire MID file inside TOUCHE.DAT could be complicated. A simple hack is to change the events into the normal on-then-off sequence, giving a note of zero length instead of a note of indefinite length. In the ripped MID file, change the byte at offset 379h from 80h to 90h and the byte at 37Dh from 90h to 80h; in TOUCHE.DAT the offsets are 16740ADh and 16740B1h.