AudioEffectPitchShift

Inherits: AudioEffect < Resource < Reference < Object

Adds a pitch-shifting audio effect to an Audio bus.

Raises or lowers the pitch of original sound.

Description

Allows modulation of pitch independently of tempo. All frequencies can be increased/decreased with minimal effect on transients.

Enumerations

enum FFT_Size:

  • FFT_SIZE_256 = 0
  • FFT_SIZE_512 = 1
  • FFT_SIZE_1024 = 2
  • FFT_SIZE_2048 = 3
  • FFT_SIZE_4096 = 4
  • FFT_SIZE_MAX = 5 — Represents the size of the FFT_Size enum.

Property Descriptions

Default3
Setterset_fft_size(value)
Getterget_fft_size()

  • int oversampling
Default4
Setterset_oversampling(value)
Getterget_oversampling()

Default1.0
Setterset_pitch_scale(value)
Getterget_pitch_scale()

Pitch value. Can range from 0 (-1 octave) to 16 (+16 octaves).

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:29:06. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.