*Clicking* in audio in HTML5 build (DEF-2515) (SOLVED)

Hey there.

I have some periodic clicking in the audio of my HTML5 build. I can recognize somewhat of a pattern, and it appears to be caused by one specific track. It’s an atmospheric sound that runs in the background for 20 seconds and then repeats.

What might be the issue, and is there anything I can do to fix this?

This is a known bug as far as i remember. The audio engine needs a lot of work, for html and the others.

1 Like

Getting rid of clicking entirely is super hard in HTML5 anyway, since JS is not multi-threaded and the audio buffers update is tied to the game’s update, so if the game skips some frames, the audio will skip as well. I know this happens with FMOD as well and I don’t think there’s a workaround apart from either optimising your game’s FPS or (on the sound engine side) making the audio buffers larger and, hence, introducing latency.

2 Likes