Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AudioEffectEQ
Успадковує: AudioEffect < Resource < RefCounted < Object
Успадковано від: AudioEffectEQ10, AudioEffectEQ21, AudioEffectEQ6
Base class for audio equalizers (EQ). Gives you control over frequencies.
Use it to create a custom equalizer if AudioEffectEQ6, AudioEffectEQ10, or AudioEffectEQ21 don't fit your needs.
Опис
An "equalizer" gives you control over the gain of frequencies in the entire spectrum, by allowing their adjustment through bands. A band is a point in the frequency spectrum, and each band means a division of the spectrum that can be adjusted.
Use equalizers to compensate for existing deficiencies in the audio, make room for other elements, or remove undesirable frequencies. AudioEffectEQs are useful on the Master bus to balance the entire mix or 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 disabled when headphones are plugged in).
Посібники
Методи
get_band_count() const |
|
get_band_gain_db(band_idx: int) const |
|
void |
set_band_gain_db(band_idx: int, volume_db: float) |
Описи методів
Повертає кількість смуг еквалайзера.
float get_band_gain_db(band_idx: int) const 🔗
Повертає посилення смуги за вказаним індексом у дБ.
void set_band_gain_db(band_idx: int, volume_db: float) 🔗
Встановлює посилення смуги за вказаним індексом у дБ.