It is indeed 8 bit linear PCM. I was able to pull the raw PCM into Audacity and it plays. However, if I take a different audio file (something downloaded) and export it as raw 8 bit linear PCM at a similar sample rate and drop it into the sound rom, it sounds like loud static (mixed in with some silence basically matching the original sound levels). Yet if I export the imported real Simpsons sound it plays. So it seems like my process isn't fundamentally flawed but there seems to be something fundamentally different about the data. So I thought it might be a DC offset issue. I added just a tiny bit of DC offset to the original Simpsons sound and it sounded pretty awful. But I can't seem to adjust the DC offset to a point in my downloaded sound to get it to sound any better. I've tried removing the DC offset as well as adjusting it to match the slight DC offset in the original Simpsons sound, but it doesn't help.
Part of me wonders if something could be throwing MAME off, and perhaps if I burned a real rom and put it in my Simpsons machine it might work fine. But IIRC it's a masked rom that isn't socketed so I'm a little reluctant to go to the trouble of removing a non-socketed rom and soldering in a socket without any *real* reason to think it might work better.
Maybe I just need to sleep on it. But I'm open to ideas if anyone has any.
|