2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 21:18:53 +08:00
<class name= "AudioEffectEQ" inherits= "AudioEffect" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-13 04:42:36 +08:00
<brief_description >
2017-09-17 00:47:19 +08:00
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.
2017-09-13 04:42:36 +08:00
</brief_description>
<description >
2019-06-22 07:04:47 +08:00
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).
2017-09-13 04:42:36 +08:00
</description>
<tutorials >
2022-06-20 07:11:11 +08:00
<link title= "Audio buses" > $DOCS_URL/tutorials/audio/audio_buses.html</link>
2017-09-13 04:42:36 +08:00
</tutorials>
<methods >
<method name= "get_band_count" qualifiers= "const" >
2021-07-30 21:28:05 +08:00
<return type= "int" />
2017-09-13 04:42:36 +08:00
<description >
2017-09-17 00:47:19 +08:00
Returns the number of bands of the equalizer.
2017-09-13 04:42:36 +08:00
</description>
</method>
<method name= "get_band_gain_db" qualifiers= "const" >
2021-07-30 21:28:05 +08:00
<return type= "float" />
2022-08-07 02:11:48 +08:00
<param index= "0" name= "band_idx" type= "int" />
2017-09-13 04:42:36 +08:00
<description >
2017-09-17 00:47:19 +08:00
Returns the band's gain at the specified index, in dB.
2017-09-13 04:42:36 +08:00
</description>
</method>
<method name= "set_band_gain_db" >
2021-07-30 21:28:05 +08:00
<return type= "void" />
2022-08-07 02:11:48 +08:00
<param index= "0" name= "band_idx" type= "int" />
<param index= "1" name= "volume_db" type= "float" />
2017-09-13 04:42:36 +08:00
<description >
2017-09-17 00:47:19 +08:00
Sets band's gain at the specified index, in dB.
2017-09-13 04:42:36 +08:00
</description>
</method>
</methods>
</class>