0 votes

Is there any way to alter the playback speed of an audio or can it be supported for next versions?

asked May 16, 2019 in Engine by leonardo (33 points)

2 Answers

0 votes

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 setmixrate 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.

answered May 16, 2019 by Freeman (709 points)
0 votes

The playback speed of an audio is the Pitch Scale or pitch_scale in AudioStreamPlayer
Changing the playback speed means also changing the pitch:

  • Speeding up = Higher pitch (chipmunk-like)
  • Slowing down = Lower pitch (demon-like)

To counter this, you may wanna add a Pitch Shift effect to your audio bus.

answered May 16, 2019 by Dlean Jeans (3,915 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.