Albeoris / Memoria

Final Fantasy IX tools
MIT License
360 stars 47 forks source link

Audio crackling bug with ambient sound #637

Open snouz opened 2 months ago

snouz commented 2 months ago

From user /u/indylord

https://old.reddit.com/r/FinalFantasyIX/comments/1edv83k/audio_bug_steam_version/

"I'm a new player and dealing with a frustrating bug. Using the memoria+Moguri mods on steam, and there is a repeating popping/crackling noise in the background noise audio. Not the music- when I mute the background noise of the game, the music sounds 100% perfect. But the crackling gets more intense the louder the background noise is. I've no idea how to fix this- I've tried lowering the framerate, uninstalling and reinstalling the game/its mods, digging for audio patches/anyone who has a similar issue, and nothing. Would absolutely love any suggestions y'all have."

barkermn01 commented 2 months ago

I have asked him for some more info hopefully a VOD but bare minimum we need there memoria.ini file to double check sound settings

Asirmoth commented 2 months ago

I've confirmed that switching to legacy audio backend does resolve the issue.

snouz commented 2 months ago

@SamsamTS

JazzDemon commented 2 months ago

I had a similar issue and resolved it by setting Backend = 0. It only happens in certain scenes though so that might be why it's difficult to reproduce.

Video provided https://www.youtube.com/watch?v=j6d_ggRR2uI Memoria.ini file https://drive.google.com/drive/folders/1Ep_I8x-bHosSrIR9Q7N5l0zBpl7OLZtm?usp=sharing

barkermn01 commented 2 months ago

@JazzDemon thanks for this could i ask, can you test it with "Moguri Alt Soundtrack" mod in the Mod Manager for Memoria, wondering if it's the specific audio files for that map or if it's something else?

JazzDemon commented 2 months ago

I'd be happy to however I've unfortunately overwritten the save file as I'm playing though the game currently. If you can provide me with a save file that allows me to access Alexandria Castle top I will test it.

snouz commented 2 months ago

@JazzDemon

https://drive.google.com/file/d/1QTnNDeMLoc4zI7EwsRXiS44e-mSvtnrx/view?usp=sharing

This is a save that contains the whole game chronologically.

SamsamTS commented 2 months ago

For some reason that one specific ambient audio pops when it loops using Soloud.

Hard to tell why this happen. It could be that Soloud looping isn't as precise as it should. Or maybe it's the opposite and the looping point is bad for that particular ambient sound (other ambient sounds seem to loop just fine afaik) but the legacy backend (sdlib) being as bad as it is just happen to make the pop disappear.

I'll need to identify the offending audio and probably tweak the looping point so it doesn't pop.