SourMesen/Mesen

Problem about playing NSF file

Closed this issue · 5 comments

Cannot play some nsf files used sound chip.

no sound : Sangokushi 2 - Haou no Tairiku.nsf
out of sync : robokabuto_-_yoshimune_soko_ni_aru_kamo_shire_nai.nsf

Thanks for the bug report, I'll investigate this once I get back home from vacation.

Sangokushi 2 - Haou no Tairiku.nsf is bad! paly address is D8D4!

qq 20161011205229

I took a look at this a few weeks ago (for the Robokabuto file), and it looked like it may be an issue with the MMC5 sound chip's code. It does look like a bug, so I'll try to fix eventually.

The Sangokushi file seems to be incorrect, like dragon2snow said, so there's nothing I can do about that part.

I finally took some time to try and figure this one out.
Turns out the robokabuto song was not out of sync - it only sounded that way because the MMC5's square channels' volume was way too high. I've adjusted the volume to be similar to the NES' square channels (which is what it should be according to the NesDev wiki), and it removes the impression that the sound is out-of-sync in the NSF track. (51be9b8)