Changing the speed of Voice Clips

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Neion
Posts: 2
Joined: Fri Feb 12, 2021 11:45 pm

Changing the speed of Voice Clips

Post by Neion »

Hi Tony,

The audio function plays voice clips along with text, is there any option that I can change the speed of the voice clips like speak 20% slower or 20% faster?
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Changing the speed of Voice Clips

Post by Tony Li »

Hi,

You can change the Pitch value of an AudioSource component. For example, you could write a custom sequencer command to change the pitch.
Neion
Posts: 2
Joined: Fri Feb 12, 2021 11:45 pm

Re: Changing the speed of Voice Clips

Post by Neion »

Hi,

Where can I find the audio source that dialogue system controller uses? It keeps giving errors that audiosource is not detected.
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Changing the speed of Voice Clips

Post by Tony Li »

It depends on how you're playing the audio source. If you're using a sequencer command such as Audio() or AudioWait(), it's the subject GameObject. If you haven't specified the subject, it's the dialogue entry's speaker. (See Character GameObject Assignments)
Post Reply