Equalizer
6 nodes
On this page 6
Butterworth
FunctionA Butterworth filter: maximally flat in the passband, rolling off at 6 dB per octave for each order.
Signature
Butterworth -> AudioBuffer
audio: AudioBuffer
cutoff: Number
order: Integer
side: Filter SideAudioBuffer Butterworth(
AudioBuffer audio,
double cutoff = 1000,
int order = 4,
FilterSide side = FilterSide.LowPass)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to filter. |
| cutoff | Number | 1000 | The -3 dB frequency in Hz. |
| order | Integer | 4 | 1 to 16; each order adds 6 dB per octave of roll-off. |
| side | Filter Side | Low pass | Which side of the cutoff to keep. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Equalizer
- Package
- Audio Processing
Chebyshev
FunctionA Chebyshev type I filter: steeper than a Butterworth of the same order, paid for with ripple in the passband.
Signature
Chebyshev -> AudioBuffer
audio: AudioBuffer
cutoff: Number
order: Integer
ripple: Number
side: Filter SideAudioBuffer Chebyshev(
AudioBuffer audio,
double cutoff = 1000,
int order = 4,
double ripple = 1,
FilterSide side = FilterSide.LowPass)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to filter. |
| cutoff | Number | 1000 | The passband edge in Hz. |
| order | Integer | 4 | 1 to 16. |
| ripple | Number | 1 | Passband ripple in dB; more ripple, steeper edge. |
| side | Filter Side | Low pass | Which side of the cutoff to keep. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Equalizer
- Package
- Audio Processing
High Shelf
FunctionBoosts or cuts everything above a frequency - a mixing desk's treble knob.
Signature
HighShelf -> AudioBuffer
audio: AudioBuffer
frequency: Number
gain: Number
slope: NumberAudioBuffer HighShelf(
AudioBuffer audio,
double frequency = 5000,
double gain = 3,
double slope = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to equalize. |
| frequency | Number | 5000 | The shelf's corner in Hz. |
| gain | Number | 3 | Boost or cut in dB. |
| slope | Number | 1 | How steep the shelf's edge is. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Equalizer
- Package
- Audio Processing
Inverse Chebyshev
FunctionA Chebyshev type II (inverse Chebyshev) filter: flat in the passband, with a guaranteed attenuation in the stopband and ripple there instead.
Signature
InverseChebyshev -> AudioBuffer
audio: AudioBuffer
stopband: Number
order: Integer
attenuation: Number
side: Filter SideAudioBuffer InverseChebyshev(
AudioBuffer audio,
double stopband = 2000,
int order = 4,
double attenuation = 40,
FilterSide side = FilterSide.LowPass)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to filter. |
| stopband | Number | 2000 | The stopband edge in Hz, where the attenuation is reached. |
| order | Integer | 4 | 1 to 16. |
| attenuation | Number | 40 | The least attenuation in the stopband, in dB. |
| side | Filter Side | Low pass | Which side to keep. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Equalizer
- Package
- Audio Processing
Low Shelf
FunctionBoosts or cuts everything below a frequency - a mixing desk's bass knob.
Signature
LowShelf -> AudioBuffer
audio: AudioBuffer
frequency: Number
gain: Number
slope: NumberAudioBuffer LowShelf(
AudioBuffer audio,
double frequency = 200,
double gain = 3,
double slope = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to equalize. |
| frequency | Number | 200 | The shelf's corner in Hz. |
| gain | Number | 3 | Boost or cut in dB. |
| slope | Number | 1 | How steep the shelf's edge is; 1 is the steepest without overshoot. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Equalizer
- Package
- Audio Processing
Peaking EQ
FunctionBoosts or cuts a band around a frequency - the bell of a parametric equalizer.
Signature
PeakingEq -> AudioBuffer
audio: AudioBuffer
frequency: Number
gain: Number
q: NumberAudioBuffer PeakingEq(
AudioBuffer audio,
double frequency = 1000,
double gain = 3,
double q = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| audio | AudioBuffer | — | The clip to equalize. |
| frequency | Number | 1000 | The band's centre in Hz. |
| gain | Number | 3 | Boost (positive) or cut (negative) in dB. |
| q | Number | 1 | How narrow: 0.7 is broad and musical, 5 a surgical notch. |
Returns
| Audio | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Equalizer
- Package
- Audio Processing