Post subject: [OSX] Lots of audio noise
Joined: 7/2/2007
Posts: 3960
I'm getting a lot of sound distortion out of FCEU. Here's an example, with the following sound settings: -soundq 1 -soundrate 48000 -soundvol 100 -soundbufsize 24 http://www.youtube.com/watch?v=f0X3sBX5n20 Oddly enough, setting soundq to 0 (which should be low-quality sound emulation) sounds much better. Here's an alternate encoding with these settings: -soundq 0 -soundrate 44100 -soundvol 50 -soundbufsize 52 http://www.youtube.com/watch?v=m3eJCrIUJGI However, there's still a non-trivial amount of static. This isn't a huge deal for me when making TASes, as with frame advance there's no sound anyway. And it's not affecting sync (or at least, other people are able to watch my WIPs in .fcm form). But it is annoying. Any ideas what could be wrong?
Pyrel - an open-source rewrite of the Angband roguelike game in Python.
Joined: 5/24/2004
Posts: 262
Hmm. What if you push the sound buffer size up closer to 100 (I assume that means 100 ms)? I have similar static depending on the latency I choose but it tends to completely disappear around 100.
Joined: 7/2/2007
Posts: 3960
I tried 100, 200, and 500; no dice. Though interestingly, with 100 and 200 the game played with almost no noise at all until about 20-30 seconds in, after which point the noise was back in full force. 500 just sounded crappy in general. I have to say I don't really know what the sound buffer is doing, which makes it hard to know what a good value would be. And yes, the number is milliseconds.
Pyrel - an open-source rewrite of the Angband roguelike game in Python.
Joined: 5/24/2004
Posts: 262
Ah, ok. Not sure what else to suggest besides playing with your video settings (disable vsync or double buffering if you use them), since I've found video can affect sound performance in fceu. Otherwise, it could be anything - a conflict on your machine, something about the way sound works in BSD, or just a bug in the source. The devs would know better than me.