PDA

View Full Version : Sound is crackling


boshaus
15th October 2008, 02:29 AM
When playing games, the sound tends to crackle a lot. Its especially noticeable when doing things that make lots of sound like flipping through letters when making a name in Zelda. I've tried both v 1.6 and 1.7, updating my audio drivers (envy 24), trying different plugins, all to no avail. I'm on Vista 64bit. Anyone have any ideas what would cause this?

Smiff_
15th October 2008, 03:26 AM
are you getting solid 60 VI/s speed?
enabling Fixed Audio Timing in 1.7 (core) should almost eliminate this.
so will sync audio (audio plugin, v1.6 or 1.7), but this has side effects so i don't recommend it.

boshaus
15th October 2008, 04:12 AM
Fixed Audio Timing was checked by default under ROM settings. I also tried checking the sync audio box with no luck.

Here's a sample of my audio:

I'm getting a solid 60VI/s also.

Smiff_
15th October 2008, 09:10 PM
hmm.. sounds like you've done the right things, so its something to do with your sound card i suspect.. not sure sorry, would like jabo's opinion on this. i'll point him to this thread.

anyone aware of any issues with envy24?

edit: envy24 is a via onboard chipset? do you have a PCI soundcard lying around you could try just to rule that out please?

HatCat
16th October 2008, 12:00 AM
How does Nemu64's audio emulation engine work for you in testing crackling?

Nemu64 v0.8
http://www.emulator-zone.com/doc.php/n64/nemu64.html

Just extract the full archive, run NEMU64.EXE and start playing.

SGi
16th October 2008, 02:06 AM
Fixed Audio Timing was checked by default under ROM settings. I also tried checking the sync audio box with no luck.

Here's a sample of my audio

I'm getting a solid 60VI/s also.
this crackling is normal even if you getting a perfect 60

it'll go away if you check the "sync game to audio" option

are you sure you checked that option for this game?

boshaus
16th October 2008, 05:31 AM
Thanks, I appreciate the help everyone.


edit: envy24 is a via onboard chipset? do you have a PCI soundcard lying around you could try just to rule that out please?

Yes, its onboard. Unfortunately its this stupid Shuttle PC that only has a PCIe 16x and pcie 1x so I have no other cards, but I"m guessing you're right and its this crappy onboard sound.

I might just have to stick to my real N64 till my next upgrade. I just like the high res of emulators :)


How does Nemu64's audio emulation engine work for you in testing crackling?

nemu64 crashes as soon as I select the ROM to be loaded.


it'll go away if you check the "sync game to audio" option

are you sure you checked that option for this game?

Yeah, I've tried checking it both in the plugin settings, rom settings, both at the same time, and neither. Sounds exactly the same

Jabo
17th October 2008, 10:45 PM
might be better to just try out Azimer's audio plugin to get a good comparison, truth be told I have no idea why the envy24 would have issues, sadly without hardware its hard to test anything of course

from a technical standpoint it sounds like either...

1. there is not enough data to feed to the sound engine
2. the sound driver is buggy and isnt notifying things fast enough

HatCat
17th October 2008, 11:35 PM
^ If you haven't already.

Test the Force Old School Audio Sync option. The sound plugin can be configured in Project64 through Options, Configure Audio Plugin....

NGEmu hosts Azimer's Audio Plugin v0.56 WIP 2.
http://www.ngemu.com/plugins.php?cat=3&os=win32

And yeah Nemu64's pretty unstable with Windows Vista. If you extracted the EXE in an already existing folder with other emulators or plugins that could be the only reason why it crashed, but if you put it in its own folder it's their end.

squall_leonhart
18th October 2008, 07:48 AM
Jabo, we NEED adjustable buffer lengths in your audio plugin :P many newer onboard chipsets require between 20 and 40ms to prevent crackling.

XFi6
20th October 2008, 05:12 AM
Unfortunately, syncing the audio to the game means restricting the game to 60VI/s. The frame limiter will hence not work (so you can't press F4 to fast forward through cutscenes, etc)

After all of my experience, I say that the best audio quality without having to sync the audio to the game is to use: Azimer's HLE Audio WIP II (http://www.emutalk.net/showthread.php?p=273520#post273520), and
The RSP plugin by Hacktarux and the Mupen64Plus team, included with the Windows build of Mupen64Plus (here's the link (http://www.emutalk.net/showthread.php?t=44284))Even still, there are minor crackles. To nearly completely eliminate all crackling, again without having to sync the audio to the game, you would need to use this older RSP plugin by Hacktarux (http://www.emutalk.net/showthread.php?t=18129). But that older RSP plugin results in slightly fuzzy audio quality since it dates back to a while back.

The previous RSP plugin I listed above (the one in Mupen64Plus) results in, humanly, the same quality as the default Project64 one (on a stereo speaker setup; I don't know about 5.1 or 7.1 surround), but with better performance and less crackles.

Mikonokia
20th October 2008, 07:02 PM
Yes it happens to me to the sound is very anoying and im using jabos plugin

XFi6
20th October 2008, 08:32 PM
Yes it happens to me to the sound is very anoying and im using jabos pluginThen do what I said. Use: http://www.emutalk.net/showthread.php?p=273520#post273520

And also use the RSP plugin packaged with Mupen64Plus:
http://mupen64plus.googlecode.com/files/Mupen64Plus-Win32.7z

(The first link requires a free EmuTalk membership. The second link requires you to have WinRAR or 7-Zip or PowerArchiver or a similar program installed to view .7z files)

HatCat
23rd October 2008, 01:15 AM
schibo's audio engine based on UltraHLE supplied with 1964 has decent sound with Hacktarux's plugin, but that was an old topic.

Azimer's plugin uses "dynamic audio synching". Jabo's sound plugin forces framerate to match, but I've still seen games with auto audio sync issues run faster with the speed limiter off with the extra sync option checked. It will also cause certain games to hang, but zilmar fixed the core's end for that.

squall_leonhart
24th October 2008, 07:10 PM
Which is why i said an adjustable buffer, the crackling will be solved via adjusting this to suite the sound card used.

i don't get any crackling on my SB Live card because its got a decent DSP and hardware buffering.