DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
dspark::Equalizer< T, MaxBands >::BandConfig Struct Reference

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

#include <Equalizer.h>

Collaboration diagram for dspark::Equalizer< T, MaxBands >::BandConfig:

Public Attributes

frequency = T(1000)
 Center/cutoff frequency in Hz.
 
gain = T(0)
 Gain in dB (Peak, Shelf, Tilt).
 
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 85 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 92 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 87 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 88 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 89 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 91 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 90 of file Equalizer.h.


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