DSPark 1.8.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.
 
int slope = 12
 Slope in dB/oct (LP/HP only: 6-48).
 
bool enabled = true
 False to bypass this band.
 

Detailed Description

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

Full configuration for a single EQ band.

Definition at line 100 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 107 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 102 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 103 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 104 of file Equalizer.h.

◆ slope

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

Slope in dB/oct (LP/HP only: 6-48).

Definition at line 106 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 105 of file Equalizer.h.


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