FS#5311 - MIDI :freeze when "header chunk size invalid"
|
DetailsI'm using the CVS build which is right after the commit from 7 May 07:27.
I have put the recommended sound patches, and the MIDI works on most files. However, I have a problem with that MIDI file : http://vgmusic.com/music/console/nintendo/gameboy/lapower.mid When loading it, it displays "Header Chunk size invalid." and then freezes, after what i have to reset the H120. |
This task depends upon
Closed by Linus Nielsen Feltzing (linusnielsen)
Monday, 08 May 2006, 12:00 GMT
Reason for closing: Fixed
Monday, 08 May 2006, 12:00 GMT
Reason for closing: Fixed
I have checked out the file and it is not regular MIDI. It should have an extension .rmi, and the header on it is in fact 'RIFF' instead the standard 'MTHD'. I hope to add support for this soon; as far as I can remember, .rmi (RIFF) is just a wrapper around a standard MIDI file, which should be the data within the RIFF data block.
Yep-
00000000 52 49 46 46 1C 10 00 00 52 4D 49 44 64 61 74 61 RIFF....RMIDdata
00000010 0F 10 00 00 4D 54 68 64 00 00 00 06 00 01 00 03 ....MThd.......
Right now I have to go work on a class project but I will look into this within the next few days.
Steve
Thanks
Steve