Inherits: AudioEffect < Resource < Reference < Object
Inherited By: AudioEffectEQ10, AudioEffectEQ21, AudioEffectEQ6
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.
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).
- int get_band_count ( ) const
Returns the number of bands of the equalizer.
- float get_band_gain_db ( int band_idx ) const
Returns the band’s gain at the specified index, in dB.
- void set_band_gain_db ( int band_idx, float volume_db )
Sets band’s gain at the specified index, in dB.
Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:29:21. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.