Class: Equalizer

Equalizer

new Equalizer(context, opts)

40-band graphic equalizer AudioNode.
Center frequencies are logarithmically spaced between 20 Hz and 20 KHz
Parameters:
Name Type Description
context AudioContext The Web Audio context
opts Object Can contain values for eq.param.curve and eq.param.range
Source:

Members

(inner) cfreqs :Array

The center frequencies of the 40 equalizer bands. (read only)
Type:
  • Array
Source:

(inner) curve :Array

The EQ curve.
An array of 40 numbers corresponding to the gain values in dB for each filter in the Equalizer
Type:
  • Array
Source:

(inner) range :number

The range of the EQ curve.
Gain value for each filter is calculated: gain = curve[i] * 5 * range
Type:
  • number
Source: