Hi
I'm using sequences to add voice-over audio to some of the lines in my dialogue, I made a resources folder where I put my audio in then dragged it to the sequence field of the corresponding node with the command AudioWait()
but the audio comes out slowed down to the degree that it is distorted!
How can I solve this?
AudioWait() slows down my voice-over audio
Re: AudioWait() slows down my voice-over audio
Hi,
Is your game adjusting timescale during conversations? Maybe timescale is distorting audio.
Or maybe it's an issue with the Audio Source. When you drag an audio file, it creates an AudioWait() command that plays on the speaker's Audio Source, creating the Audio Source if it doesn't exist. If that Audio Source already exists, check its configuration. If you want to play the audio on a different GameObject, add the GameObject name to the AudioWait() command, such as:
If you make a build of your game, is the audio distorted in the build? If not, it might be an editor issue. You may be able to resolve it by changing the import settings of your audio file. The Knights of Unity did a good writeup of audio import settings here.
Is your game adjusting timescale during conversations? Maybe timescale is distorting audio.
Or maybe it's an issue with the Audio Source. When you drag an audio file, it creates an AudioWait() command that plays on the speaker's Audio Source, creating the Audio Source if it doesn't exist. If that Audio Source already exists, check its configuration. If you want to play the audio on a different GameObject, add the GameObject name to the AudioWait() command, such as:
Code: Select all
AudioWait(myAudioClip, Some GameObject Name)