Revolutionary-Games / Thrive

The main repository for the development of the evolution game Thrive.
https://revolutionarygamesstudio.com/
Other
2.76k stars 492 forks source link

Investigate potentially glitchy audio when many microbe sounds playing at once (audio latency) #5050

Open hhyyrylainen opened 4 months ago

hhyyrylainen commented 4 months ago

Launcher has an option now to increase the audio latency, which may fix this. If the audio problems are common enough, we might want to increase the default audio latency in the Godot settings for Thrive. It doesn't seem like it is possible to modify the audio latency once the game is running so this may not be possible to implement in the Thrive settings directly.

hhyyrylainen commented 4 months ago

At least one user has reported that increasing the audio latency setting helps: https://community.revolutionarygamesstudio.com/t/0-6-6-release-candidate/7421/5?u=hhyyrylainen so we might get by with slightly increasing the default audio latency.

hhyyrylainen commented 3 months ago

I've increased the audio latency up to 20ms, but maybe 25ms would be more of a sweetspot (as I get some crackling audio in the benchmark at that 20ms figure but it is greatly reduced).