File: AudioEffectEQ.xml

package info (click to toggle)
godot 3.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 270,588 kB
  • sloc: cpp: 971,579; ansic: 617,953; xml: 80,302; asm: 17,498; cs: 14,559; python: 11,744; java: 9,681; javascript: 4,654; pascal: 1,176; sh: 896; objc: 529; makefile: 176
file content (37 lines) | stat: -rw-r--r-- 1,610 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AudioEffectEQ" inherits="AudioEffect" version="3.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
	<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. AudioEffectEQs are useful on the Master bus to completely master a mix and give it more character. They are also 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>
	<methods>
		<method name="get_band_count" qualifiers="const">
			<return type="int" />
			<description>
				Returns the number of bands of the equalizer.
			</description>
		</method>
		<method name="get_band_gain_db" qualifiers="const">
			<return type="float" />
			<argument index="0" name="band_idx" type="int" />
			<description>
				Returns the band's gain at the specified index, in dB.
			</description>
		</method>
		<method name="set_band_gain_db">
			<return type="void" />
			<argument index="0" name="band_idx" type="int" />
			<argument index="1" name="volume_db" type="float" />
			<description>
				Sets band's gain at the specified index, in dB.
			</description>
		</method>
	</methods>
	<constants>
	</constants>
</class>