AudioWait() slows down my voice-over audio

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Newbie0
Posts: 1
Joined: Mon Jun 27, 2022 2:14 am

AudioWait() slows down my voice-over audio

Post by Newbie0 »

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?
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: AudioWait() slows down my voice-over audio

Post by Tony Li »

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:

Code: Select all

AudioWait(myAudioClip, Some GameObject Name)
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.
Post Reply