Is it possible to change tempo of music track without using any sound engines like FMOD
? I know by changing pitch in AudioSource I can change speed of music but you know by changing pitch actually the music can be completely changed.
If you want the answer it is the best approach which I've found in Unity. (Actually one of my friends suggest this approach)
AudioSource
in Output value in the inspectorAdd Effect
and select Pitch shifter
AudioSource
and set the Pitch
to 2 (Example)AudioMixer Pitch
to 0.5 (Example)The formula for calculating AudioSource Pitch
and AudioMixer Pitch
: AudioMixer Pitch Value = 1 / AudioSource Pitch Value
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With