Equalizer extends EqualizerConfiguration
new Equalizer(channelCount, bandMultipliers)| Parameter | Type | Optional | Description |
|---|---|---|---|
| channelCount | number | ❌ | - |
| bandMultipliers | Array<number> | ❌ | - |
Properties
public bandMultipliers: Array<number>
public channelCount: number
public channels: Array<ChannelProcessor>
public static BAND_COUNT: 15
public static Coefficients48000: Array<EqualizerCoefficients>
public static SAMPLE_RATE: 48000
Methods
public createChannelProcessor(): Array<ChannelProcessor>
public getGain(band): number
| Parameter | Type | Optional | Description |
|---|---|---|---|
| band | number | ❌ | - |
public isValidBand(band): boolean
| Parameter | Type | Optional | Description |
|---|---|---|---|
| band | number | ❌ | - |
public process(input): Array<Buffer>
| Parameter | Type | Optional | Description |
|---|---|---|---|
| input | Array<ChannelProcessorInput> | ❌ | - |
public setGain(band, value): void
| Parameter | Type | Optional | Description |
|---|---|---|---|
| band | number | ❌ | - |
| value | number | ❌ | - |
Last updated on