There are 15 bands (0-14) that can be changed. "gain" is the multiplier for the given band. The default value is 0. Valid values range from -0.25 to 1.0, where -0.25 means the given band is completely muted, and 0.25 means it is doubled. Modifying the gain could also change the volume of the output.

interface Equalizer {
    band: number;
    gain: number;
}

Properties

Properties

band: number

The band (0 to 14)

gain: number

The gain (-0.25 to 1.0)