- Home /
audio different in game than preview?
In my editor i have music, i made the audio file in audacity. It is saved as a Wave format or a .wav When i play the sound in the preview box at the side it sounds perfect but when i put the audio in game it sounds horrible it sounds like interference has been put over it. I am currently using it as a 3D sound because it sounded even worse as 2D even thought i want it for background music so ideally i would like it 2D. Does anyone know what could be causing this?
Try setting the doppler level to 0 http://docs.unity3d.com/Documentation/Components/class-AudioSource.html
Ref: Unity3D Forum post I saw a while ago...
it seems to be only happening in this scene, i have 2 music works fine in one but not the other
Answer by $$anonymous$$ · Apr 21, 2014 at 06:18 PM
I found the problem but i have no idea y this happens. I was using a script to do audio.PlayOneShot(music); playing the music like this messed up the quality. When i turned off the script and just used play on awake it sounded great, however i dont want it to play on awake anyone know what is wrong?
I tried this and found the same results. When i turn off my Audio$$anonymous$$anager script, it sounds prefect. When played by a script the audio sounds distorted.
Your answer
Follow this Question
Related Questions
Background Music 3 Answers
Why is my backtrack's volume getting lower? 0 Answers
Audio slider for multiple scenes. 2 Answers
footstep sound 1 Answer
How To trim audio run time in game? 1 Answer