new filters.EqualizerFilter (f32, f64, f125, f250, f500, f1k, f2k, f4k, f8k, f16k) overrides
Name | Type | Default | Description |
---|---|---|---|
f32 |
number | 0 |
Default gain for 32 Hz |
f64 |
number | 0 |
Default gain for 64 Hz |
f125 |
number | 0 |
Default gain for 125 Hz |
f250 |
number | 0 |
Default gain for 250 Hz |
f500 |
number | 0 |
Default gain for 500 Hz |
f1k |
number | 0 |
Default gain for 1000 Hz |
f2k |
number | 0 |
Default gain for 2000 Hz |
f4k |
number | 0 |
Default gain for 4000 Hz |
f8k |
number | 0 |
Default gain for 8000 Hz |
f16k |
number | 0 |
Default gain for 16000 Hz |
Extends
Members
Band at 125 Hz
- Default Value:
- 125
Band at 16000 Hz
- Default Value:
- 16000
Band at 1000 Hz
- Default Value:
- 1000
Band at 250 Hz
- Default Value:
- 250
Band at 2000 Hz
- Default Value:
- 2000
Band at 32 Hz
- Default Value:
- 32
Band at 4000 Hz
- Default Value:
- 4000
Band at 500 Hz
- Default Value:
- 500
Band at 64 Hz
- Default Value:
- 64
Band at 8000 Hz
- Default Value:
- 8000
The list of bands
The map of bands to frequency
Gain at 125 Hz frequencey.
- Default Value:
- 0
Gain at 16 KHz frequencey.
- Default Value:
- 0
Gain at 1 KHz frequencey.
- Default Value:
- 0
Gain at 250 Hz frequencey.
- Default Value:
- 0
Gain at 2 KHz frequencey.
- Default Value:
- 0
Gain at 32 Hz frequencey.
- Default Value:
- 0
Gain at 4 KHz frequencey.
- Default Value:
- 0
Gain at 500 Hz frequencey.
- Default Value:
- 0
Gain at 64 Hz frequencey.
- Default Value:
- 0
Gain at 8 KHz frequencey.
- Default Value:
- 0
Methods
Get gain amount on a specific frequency.
Name | Type | Description |
---|---|---|
frequency |
number |
Returns:
Type | Description |
---|---|
number | The amount of gain set. |
Reset all frequency bands to have gain of 0
Set gain on a specific frequency.
Name | Type | Default | Description |
---|---|---|---|
frequency |
number |
The frequency, see EqualizerFilter.F* for bands |
|
gain |
number | 0 |
Recommended -40 to 40. |
Inherited Properties
From class filters.Filter
destination AudioNode inherited
The node to connect for the filter to the previous filter.
source AudioNode inherited
The node to connect for the filter to the previous filter.
Inherited Methods
From class filters.Filter
connect (destination) void inherited
Connect to the destination.
Name | Type | Description |
---|---|---|
destination |
AudioNode |
The destination node to connect the output to |
destroy () void inherited
Destroy the filter and don't use after this.
disconnect () void inherited
Completely disconnect filter from destination and source nodes.
init (destination, source) void protected inherited
Reinitialize
Name | Type | Attributes | Description |
---|---|---|---|
destination |
AudioNode | ||
source |
AudioNode |
<optional> |