sarospa / arachNES

"Average NES emulator contains 3 spiders" factoid actually just statistical error...
GNU Affero General Public License v3.0
0 stars 1 forks source link

Super Mario Bros: Music pops on certain PCs #20

Open sarospa opened 7 years ago

sarospa commented 7 years ago

This is probably a general issue, but since I know it's in SMB, may as well note it here. On my desktop PC, there are some fairly minor flaws in the sound, only slightly noticable, but on my laptop it's still popping all over the place. Very puzzling. I'm not looking forward to debugging hardware-specific issues, but it has to be done eventually. Fortunately(?) this is a post-processing issue and should have nothing to do with the accuracy of the APU's output.

sarospa commented 7 years ago

It seems like sound quality has improved, but there's still a fair bit of crackling in the sound on my laptop. It might be a problem with the sample rate. The code that keeps the sound processing in proper sync is kinda held together with duct tape and popsicle sticks, so it's not surprising that it's not consistent across hardware. This may be fixed by improving the granularity of time measurement for the sake of getting more accurate downsampling.