AudioEffectEQ
Base class for audio equalizers (EQ). Gives you control over frequencies. Use it to create a custom equalizer if AudioEffectEQ6, AudioEffectEQ10, or [AudioEffectEQ21](/en/docs/a
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).
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
AudioEffectEQConstructor
public AudioEffectEQ();Methods3
GetBandCountint
public int GetBandCount();Returns the number of bands of the equalizer.
intGetBandGainDbfloat
public float GetBandGainDb(int bandIdx);Returns the band's gain at the specified index, in dB.
| Name | Type | Default |
|---|---|---|
bandIdx | int | — |
floatSetBandGainDbvoid
public void SetBandGainDb(int bandIdx, float volumeDb);Sets band's gain at the specified index, in dB.
| Name | Type | Default |
|---|---|---|
bandIdx | int | — |
volumeDb | float | — |