I'm working on a game, and I have implemented footstep sounds for when you walk/run/jump, etc. It works correctly but, for some reason, the footstep sound gets progressively worse/more compressed each time it's played, and I have no idea what's happening.
Here's a video: https://streamable.com/s/7cnt4/jhzkwj
Audio is played from a function in the script SonsDePasso.gd found in the node TestPlanet/Scrat/Jogador/SonsDePasso. This function has two arguments for volume and pitch (which set volume_db and pitch_scale for the "Steps" bus, that the SonsDePasso node is a part of.), and it is called from the AnimationPlayer's animations, as well as Jogador.gd's jumping function.
Here's my project files if you want to take a look: https://drive.google.com/open?id=1FtarRKZX2nt4cDMCNbYxdikFy2ucfS0O