- Home /
How to change the speed of an audio clip?
I am trying to create the footstep sound for the user. Everything works fine, although the audio clip its self from the point the clip begins, to the point it ends,is playing at an extreamly fast rate. It is as if the clip is being fast fowarded.
Answer by pgomes · Jan 26, 2014 at 10:04 PM
The solution depends of when you are playing the sound:
If you play the sound in loop when the user is walking, you might want to add extra silent time to the audio file. It should size wise if you compress it in the options.
Alternatively, you can create a walk animation, add an Animation Event to the walk animation of your character, add a script to the character, define a PlayStep method on the script in which you play the non looping sound, and connect the animation Event with this method.
Your answer
Follow this Question
Related Questions
audio rate changeing depending on axes 0 Answers
Audio Script 1 Answer
Playing Sound 2 Answers
Making sounds wait for each other to finish 2 Answers
Mecanim - changing animation clip speed, through script? 4 Answers