Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | leonardo |
Is there any way to alter the playback speed of an audio or can it be supported for next versions?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | leonardo |
Is there any way to alter the playback speed of an audio or can it be supported for next versions?
Reply From: | Freeman |
As far as I know, there is no build-in easy option to manipulate the speed of audio playing in Godot right now. It could be possible to manipulate set_mix_rate property of AudioStreamSample in code, so it would influence the pitch and speed of audio, but I can imagine it’s not exactly what you are looking for.
Reply From: | Dlean Jeans |
The playback speed of an audio is the Pitch Scale
or pitch_scale
in AudioStreamPlayer
Changing the playback speed means also changing the pitch:
To counter this, you may wanna add a Pitch Shift effect to your audio bus.