I have tried running the game with FF7Music before, but the result was the same.
I don't know if it's necessarily a problem with loading the wrong MIDI file.... because as I said, it doesn't happen every time I end a battle, it seems to be quite random... It might have nothing to do with the MIDI, but just to be safe, can someone point me to a reliable MIDI driver that I can download besides the K-Lite codec pack?
Also I might mention that I've previously installed the AnimeVamp patch, but I've uninstalled it and replaced the gm.dls file that was modified. Was there anything else I need to fix that might have been broken because of the AnimeVamp patch?