| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="AudioEffectEQ" inherits="AudioEffect" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Base class for audio equalizers. Gives you control over frequencies. |
| 5 | Use it to create a custom equalizer if [AudioEffectEQ6], [AudioEffectEQ10] or [AudioEffectEQ21] don't fit your needs. |
| 6 | </brief_description> |
| 7 | <description> |
| 8 | 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). |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | <link title="Audio buses">$DOCS_URL/tutorials/audio/audio_buses.html</link> |
| 12 | </tutorials> |
| 13 | <methods> |
| 14 | <method name="get_band_count" qualifiers="const"> |
| 15 | <return type="int" /> |
| 16 | <description> |
| 17 | Returns the number of bands of the equalizer. |
| 18 | </description> |
| 19 | </method> |
| 20 | <method name="get_band_gain_db" qualifiers="const"> |
| 21 | <return type="float" /> |
| 22 | <param index="0" name="band_idx" type="int" /> |
| 23 | <description> |
| 24 | Returns the band's gain at the specified index, in dB. |
| 25 | </description> |
| 26 | </method> |
| 27 | <method name="set_band_gain_db"> |
| 28 | <return type="void" /> |
| 29 | <param index="0" name="band_idx" type="int" /> |
| 30 | <param index="1" name="volume_db" type="float" /> |
| 31 | <description> |
| 32 | Sets band's gain at the specified index, in dB. |
| 33 | </description> |
| 34 | </method> |
| 35 | </methods> |
| 36 | </class> |