summaryrefslogtreecommitdiff
path: root/doc/classes/AudioEffectPitchShift.xml
blob: 271e1a2a4c36ec069f31b1ab4cdbe1a72401b483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AudioEffectPitchShift" inherits="AudioEffect" category="Core" version="3.2">
	<brief_description>
		Adds a Pitch shift audio effect to an Audio bus.
		Raises or lowers the pitch of original sound.
	</brief_description>
	<description>
		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.FFT_Size">
		</member>
		<member name="oversampling" type="int" setter="set_oversampling" getter="get_oversampling">
		</member>
		<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
			Pitch value. Can range from 0 (-1 octave) to 16 (+16 octaves).
		</member>
	</members>
	<constants>
		<constant name="FFT_SIZE_256" value="0" enum="FFT_Size">
		</constant>
		<constant name="FFT_SIZE_512" value="1" enum="FFT_Size">
		</constant>
		<constant name="FFT_SIZE_1024" value="2" enum="FFT_Size">
		</constant>
		<constant name="FFT_SIZE_2048" value="3" enum="FFT_Size">
		</constant>
		<constant name="FFT_SIZE_4096" value="4" enum="FFT_Size">
		</constant>
		<constant name="FFT_SIZE_MAX" value="5" enum="FFT_Size">
			Represents the size of the [enum FFT_Size] enum.
		</constant>
	</constants>
</class>