HTML5 Audio stutter is back

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By pm101

I honestly don’t remember doing anything - just my old HTML5 exported games started re-exhibiting this audio stutter issue which I thought was fixed in an older version of Godot? I’ve been using Godot 3.2.3 stable to export.

Or maybe its just me? But both my browser and phone seem to stutter. It does the same locally (using the Godot HTTP server).

I’ve simply exported the ping pong demo with a background “music” (frequency sweep) for testing here to webhostapp for testing,

https://godottemp1.000webhostapp.com/pong.html

The audio is stuttering with me most of the time, sometimes it stops, but then clicking on the address bar or anything will make it continue.

Happening to anyone else? What’s changed? Have browsers been updated causing some compatibility issue? Output latency web is 50. Anyhigher doesn’t appear to help.

Please report issues on GitHub instead of the Q&A platform: Stuttering Audio on Chrome/Chromium (HTML5, Threads) · Issue #43210 · godotengine/godot · GitHub

Calinou | 2021-03-26 21:41

right-o , agreed— honestly just saw that thread on github after posting (I’ve been firing at all angles to try and maintain my sanity)

pm101 | 2021-03-26 21:47

:bust_in_silhouette: Reply From: Tomix89

When exporting the project to HTML5, try using the Threads export type available in new versions of Godot. Keep in mind that not all browsers support multi-threading.

More info here…