summaryrefslogtreecommitdiff
path: root/doc/classes/AudioEffectEQ.xml
blob: eb2c68d129c332cadd7c6d9665206edbefd94579 (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
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AudioEffectEQ" inherits="AudioEffect" category="Core" version="3.2">
	<brief_description>
		Base class for audio equalizers. Gives you control over frequencies.
		Use it to create a custom equalizer if [AudioEffectEQ6], [AudioEffectEQ10] or [AudioEffectEQ21] don't fit your needs.
	</brief_description>
	<description>
		AudioEffectEQ gives you control over frequencies. Use it to compensate for existing deficiencies in audio. AudioEffectEQ are very useful on the Master Bus to completely master a mix and give it character. They are also very useful when a game is run on a mobile device, to adjust the mix to that kind of speakers (it can be added but disabled when headphones are plugged).
	</description>
	<tutorials>
	</tutorials>
	<demos>
	</demos>
	<methods>
		<method name="get_band_count" qualifiers="const">
			<return type="int">
			</return>
			<description>
				Returns the number of bands of the equalizer.
			</description>
		</method>
		<method name="get_band_gain_db" qualifiers="const">
			<return type="float">
			</return>
			<argument index="0" name="band_idx" type="int">
			</argument>
			<description>
				Returns the band's gain at the specified index, in dB.
			</description>
		</method>
		<method name="set_band_gain_db">
			<return type="void">
			</return>
			<argument index="0" name="band_idx" type="int">
			</argument>
			<argument index="1" name="volume_db" type="float">
			</argument>
			<description>
				Sets band's gain at the specified index, in dB.
			</description>
		</method>
	</methods>
	<constants>
	</constants>
</class>