I've been having a variety of problems with the AudioStreamPlayer recently.

If I start the audio stream player through code or by selecting auto play, the sound ends up sounding scratchy and far away. The only way I found to stop this, is to set playing to on in the editor, before I run the project(setting playing to on using code doesn't work either).

On top of this, if I set playing to on in the editor, I'm unable to stop the AudioStreamPlayer and calling play() would cause audio sounds to play at the same time.

Can someone tell me what causes these issues, and how I can maintain the audio quality without setting playing to on .

Strange. Does this occur with every sound you test? I found that sometimes certain sounds, especially ones with high or low peaks, can cause a scratchy sound when played in Godot, though lowering the volume db (if high-pitched sound) can sometimes fix it.

I'm not sure on the AudioStreamPlayer not being stopped nor it playing two audio sounds. Can you share a minimum replication project, that way I can download it and see if I get the same issue.

2 years later