.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the AudioEffectPitchShift.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_AudioEffectPitchShift: AudioEffectPitchShift ===================== **Inherits:** :ref:`AudioEffect` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Adds a Pitch shift audio effect to an Audio bus. Raises or lowers the pitch of original sound. Member Functions ---------------- +----------------------------+------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_pitch_scale` **(** **)** const | +----------------------------+------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_pitch_scale` **(** :ref:`float` rate **)** | +----------------------------+------------------------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`float` **pitch_scale** - Pitch value. Can range from 0 (-1 octave) to 16 (+16 octaves). Description ----------- Allows modulation of pitch independently of tempo. All frequencies can be increased/decreased with minimal effect on transients. Member Function Description --------------------------- .. _class_AudioEffectPitchShift_get_pitch_scale: - :ref:`float` **get_pitch_scale** **(** **)** const .. _class_AudioEffectPitchShift_set_pitch_scale: - void **set_pitch_scale** **(** :ref:`float` rate **)**