DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::Equalizer< T, MaxBands >::BandConfig Struct Reference

Full configuration for a single EQ band. More...

#include <Equalizer.h>

Public Attributes

T frequency = T(1000)
 Center/cutoff frequency in Hz.
 
T gain = T(0)
 Gain in dB (Peak, Shelf, Tilt).
 
T q = T(0.707)
 Q factor (0.1 = wide, 10 = narrow).
 
BandType type = BandType::Peak
 Filter type for this band.
 
T slope = T(12)
 Slope in dB/oct (LP/HP only): 6 to 48 in steps of 6, or any value from 0 to 96 with the analog response.
 
T order = T(1)
 Order of a bell, shelf, notch, band-pass or all-pass, 1 to 16, whole or not (6 dB/oct each; a shelf is the same from 1 to 2), or 2 for a Tilt of twelve decibels per octave. Above 1 the band runs with the analog response.
 
bool enabled = true
 False to bypass this band.
 
Scope scope = Scope::Stereo
 The channels the band acts on.
 

Detailed Description

template<FloatType T, int MaxBands = 16>
struct dspark::Equalizer< T, MaxBands >::BandConfig

Full configuration for a single EQ band.

Definition at line 190 of file Equalizer.h.

Member Data Documentation

◆ enabled

template<FloatType T, int MaxBands = 16>
bool dspark::Equalizer< T, MaxBands >::BandConfig::enabled = true

False to bypass this band.

Definition at line 198 of file Equalizer.h.

◆ frequency

template<FloatType T, int MaxBands = 16>
T dspark::Equalizer< T, MaxBands >::BandConfig::frequency = T(1000)

Center/cutoff frequency in Hz.

Definition at line 192 of file Equalizer.h.

◆ gain

template<FloatType T, int MaxBands = 16>
T dspark::Equalizer< T, MaxBands >::BandConfig::gain = T(0)

Gain in dB (Peak, Shelf, Tilt).

Definition at line 193 of file Equalizer.h.

◆ order

template<FloatType T, int MaxBands = 16>
T dspark::Equalizer< T, MaxBands >::BandConfig::order = T(1)

Order of a bell, shelf, notch, band-pass or all-pass, 1 to 16, whole or not (6 dB/oct each; a shelf is the same from 1 to 2), or 2 for a Tilt of twelve decibels per octave. Above 1 the band runs with the analog response.

Definition at line 197 of file Equalizer.h.

◆ q

template<FloatType T, int MaxBands = 16>
T dspark::Equalizer< T, MaxBands >::BandConfig::q = T(0.707)

Q factor (0.1 = wide, 10 = narrow).

Definition at line 194 of file Equalizer.h.

◆ scope

template<FloatType T, int MaxBands = 16>
Scope dspark::Equalizer< T, MaxBands >::BandConfig::scope = Scope::Stereo

The channels the band acts on.

Definition at line 199 of file Equalizer.h.

◆ slope

template<FloatType T, int MaxBands = 16>
T dspark::Equalizer< T, MaxBands >::BandConfig::slope = T(12)

Slope in dB/oct (LP/HP only): 6 to 48 in steps of 6, or any value from 0 to 96 with the analog response.

Definition at line 196 of file Equalizer.h.

◆ type

template<FloatType T, int MaxBands = 16>
BandType dspark::Equalizer< T, MaxBands >::BandConfig::type = BandType::Peak

Filter type for this band.

Definition at line 195 of file Equalizer.h.


The documentation for this struct was generated from the following file: