Im having a problem with the audio im using with my game. I want it so that when a certain action occurs a heartbeat sound will start to play but when this happens the sound is all distorted. When i play the audio in the inspector it actually sounds like a heartbeat but when I play the game it sounds really deep and off.
So I figured out my problem it was that I was using an if statement that checked a number and if that number was over 1000 it played the audioclip. The problem was that it was doing this in the update function and it was continually replaying the sound causing it to play over itself numerous times and sound distorted. I fixed it by checking a boolean to see whether or not the sound was playing
doesn’t sure what is your problem here, but maybe u could try this? Audio Manager