godot/doc/classes/AudioEffectPitchShift.xml

39 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 09:03:48 +08:00
<class name="AudioEffectPitchShift" inherits="AudioEffect" version="4.0">
<brief_description>
Adds a pitch-shifting audio effect to an Audio bus.
2017-09-17 00:47:19 +08:00
Raises or lowers the pitch of original sound.
</brief_description>
<description>
2017-09-17 00:47:19 +08:00
Allows modulation of pitch independently of tempo. All frequencies can be increased/decreased with minimal effect on transients.
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="fft_size" type="int" setter="set_fft_size" getter="get_fft_size" enum="AudioEffectPitchShift.FFTSize" default="3">
2019-06-24 16:39:59 +08:00
</member>
<member name="oversampling" type="int" setter="set_oversampling" getter="get_oversampling" default="4">
2019-06-24 16:39:59 +08:00
</member>
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" default="1.0">
2017-09-17 00:47:19 +08:00
Pitch value. Can range from 0 (-1 octave) to 16 (+16 octaves).
</member>
</members>
<constants>
<constant name="FFT_SIZE_256" value="0" enum="FFTSize">
2019-06-24 16:39:59 +08:00
</constant>
<constant name="FFT_SIZE_512" value="1" enum="FFTSize">
2019-06-24 16:39:59 +08:00
</constant>
<constant name="FFT_SIZE_1024" value="2" enum="FFTSize">
2019-06-24 16:39:59 +08:00
</constant>
<constant name="FFT_SIZE_2048" value="3" enum="FFTSize">
2019-06-24 16:39:59 +08:00
</constant>
<constant name="FFT_SIZE_4096" value="4" enum="FFTSize">
2019-06-24 16:39:59 +08:00
</constant>
<constant name="FFT_SIZE_MAX" value="5" enum="FFTSize">
Represents the size of the [enum FFTSize] enum.
2019-06-24 16:39:59 +08:00
</constant>
</constants>
</class>