- Home /
Audio not playing well on AudioListener move
Ive attached a script to my camera which enabled zoom in/out using the mouse wheel. I have an object which produces a sound, the sound settings are attached, its basically:
Play on awake
Linear rolloff
when I zoom in or out near the audio source, the sound gets distorted. but when the AudioListener object is at a constant distance from the AudioSource, the clip is played with no issues.
What can I do to fix this? I was expecting to hear the sound fade in/out as I zoom in/out.
I've tried to attach a recording of the audio as I zoom in, then out, then not moving, but I couldnt upload since the site does not accept such file types.
Answer by oskanaan · Dec 03, 2013 at 09:50 AM
In case anyone is interested, I found the solution in the following thread:
I changed "Edit->ProjectSettings->Audio->DopplerFactor" to zero and the distoration went away