Audio Choppy / Crackly After Deployment

Hello,

So I'm finally at the stage where I am deploying my game to test. The test run works fine, but after deployment, the audio will start to pop / crackle / chop after playing the game for a bit. Restarting the whole game usually helps some, but the issue always comes back after awhile.

Does anyone have any ideas what could be causing this? I use a preloader, and I'm running V 1.5.1 currently.

Any help would be appreciated, thank you!
What format are your audio files?

By "restarting the whole game" do you mean closing the game completely then relaunching? Are you then choosing New Game from the menu or Continuing your saved game?

If you open your performance monitor, is your CPU and memory usage increasing at about the time the choppiness starts?

Does your preloader also preload audio files? Do you have something that gets rid of files from memory when you no longer need them?
What format are your audio files?

By "restarting the whole game" do you mean closing the game completely then relaunching? Are you then choosing New Game from the menu or Continuing your saved game?

If you open your performance monitor, is your CPU and memory usage increasing at about the time the choppiness starts?

Does your preloader also preload audio files? Do you have something that gets rid of files from memory when you no longer need them?

Great questions!

They are all .ogg. I've removed all of the .m4a files as I have no plans to export to mobile. Not sure if this is necessary, but...well, I did it.

By restarting, I mean closing the game down, then launching it again and continuing my saved game. It's as if restarting the program gives it some steam for awhile before it putters out again.

About the CPU...let me look into that, I'm not sure!

It preloads all files, including all audio. I don't have anything that gets rid of uncessary files, and when I use RPG Maker's built in "remove unused files" feature on Deployment, my game won't open. It removes a file needed by one of my plugins and I can't find any way around it. I have gone in and manually deleted a ton of unused files though, but there are still plenty remaining that I haven't had time to comb through.

Is there a plugin that can detect when a file is no longer in use and get rid of it mid-game? I haven't heard of that...
I've ran into this with windows10 actually, it might be the fault of the OS. I've only noticed it with .mp3 files though to this point.
I've ran into this with windows10 actually, it might be the fault of the OS. I've only noticed it with .mp3 files though to this point.

I definitely should have added that I'm deploying on Mac OS. Though I'm curious, did you find a solution?
For those? No I just had to convert them all to .ogg and it went away on windows 10.

Original thread: https://forums.rpgmakerweb.com/threads/audio-choppy-crackly-after-deployment.104466/