Sound crackle/stutter is actually lag.

Hi again. OK A few of us already, according to previous posters in the old bug thread, have been experiencing these symptoms:

-Test Play and Normal Play has stuttering and crackling music.
-Songs play late
-In the editor, when you choose music and try to listen to them, clicking play works once, but not anymore after that. Stop doesn't work either. Sound also crackles/stutters when testing music.

The first two symptoms are actually not sound issues, they're caused by the game experiencing some kind of lag. I realized this when I tried playing my game in the browser and not with the exe. Woahhh the game was going way too fast... actually it was going "normal speed".  I didn't realize the exe was actually lagging. I had to go back and edit my movement speeds because everyone was running.

The 3rd symptom seems to be its own issue. Clicking play and stop are broken. Definitely not normal and not something we can do about until there's an update, or so I only assume. I already tried reinstalling and making new projects. No dice. See if you can make heads or tails out of this. Good luck everyone!
 
A lot of people are having this problem(including me) at the moment and I don't believe the developers released a fix for this yet so we just have to wait.
Hi again. OK A few of us already, according to previous posters in the old bug thread, have been experiencing these symptoms:

-Test Play and Normal Play has stuttering and crackling music.

-Songs play late

-In the editor, when you choose music and try to listen to them, clicking play works once, but not anymore after that. Stop doesn't work either. Sound also crackles/stutters when testing music.

The first two symptoms are actually not sound issues, they're caused by the game experiencing some kind of lag. I realized this when I tried playing my game in the browser and not with the exe. Woahhh the game was going way too fast... actually it was going "normal speed".  I didn't realize the exe was actually lagging. I had to go back and edit my movement speeds because everyone was running.

The 3rd symptom seems to be its own issue. Clicking play and stop are broken. Definitely not normal and not something we can do about until there's an update, or so I only assume. I already tried reinstalling and making new projects. No dice. See if you can make heads or tails out of this. Good luck everyone!
When you listen to the music/sound in the editor, that's invoking QT's Chromium build

When you test-play or test-battle that is using game.exe which is a node-webkit build.

If you run the index.html in the game directory directly in firefox or "windows deployment" and run that index.html in firefox it will work. It can also be run in the Chrome web browser if you pass a certain command-line switch to it.

But more importantly. Compare the GPU settings in game.exe with the ones in Chrome.

chrome://gpu/

To do this in game.exe, exit package.json and change toolbar from false to true.

You will get a browser toolbar, goto chrome://gpu/ there

Check what those say.

Graphics Feature StatusCanvas: Hardware acceleratedFlash: Hardware acceleratedFlash Stage3D: Hardware acceleratedFlash Stage3D Baseline profile: Hardware acceleratedCompositing: Hardware acceleratedMultiple Raster Threads: EnabledRasterization: Hardware acceleratedVideo Decode: Hardware acceleratedVideo Encode: Hardware acceleratedWebGL: Hardware acceleratedThat means everything is working.

Look for: GL_RENDERER

GL_RENDERER ANGLE (NVIDIA GeForce GTX 760 Direct3D11 vs_5_0 ps_5_0)That will tell you the rendering path being taken.

If audio is stuttering, it's likely because the CPU is being monopolized by the graphics loading.

Also, Firefox's page for it is about:support
How do you get your game running on a browser? Oh never mind I figured it out but for some reason it runs even slower in firefox and I can't get it to run in Chrome at all(failed to load: data/Actors.json).

Original thread: https://forums.rpgmakerweb.com/threads/sound-crackle-stutter-is-actually-lag.50027/