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

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

#include <DynamicEQ.h>

Public Attributes

T frequency = T(1000)
 
T q = T(1.0)
 
T threshold = T(-20)
 
BandShape shape = BandShape::Bell
 
bool enabled = true
 
T gain = T(0)
 Gain of the band at rest, in dB (-24 to 24). The dynamic part moves from here.
 
T knee = T(0)
 Width of the knee around the threshold in dB (0 to 40); negative (kAutomaticKnee): from the band's width and range.
 
Scope scope = Scope::Stereo
 The channels the band acts on and listens to.
 
Timing timing = Timing::Manual
 Program: the times come from the band, and the attack and release fields are not used.
 
bool relativeThreshold = false
 The threshold counts from the band's own recent level instead of from full scale.
 
T listenLow = T(0)
 Low edge, in Hz, of the zone the detector listens to; 0: no edge on that side.
 
T listenHigh = T(0)
 High edge of that zone; with both at 0 the detector listens where the band acts.
 
T aboveRatio = T(1)
 
T aboveAttackMs = T(5)
 
T aboveReleaseMs = T(50)
 
T aboveRangeDb = T(12)
 
bool aboveBoost = false
 
T belowRatio = T(1)
 
T belowAttackMs = T(10)
 
T belowReleaseMs = T(100)
 
T belowRangeDb = T(12)
 
bool belowBoost = false
 

Detailed Description

template<FloatType T, int MaxBands = 8>
struct dspark::DynamicEQ< T, MaxBands >::BandConfig

Full configuration for a single dynamic EQ band.

Note
Must remain trivially copyable for the lock-free seqlock publish.

Definition at line 215 of file DynamicEQ.h.

Member Data Documentation

◆ aboveAttackMs

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::aboveAttackMs = T(5)

Definition at line 232 of file DynamicEQ.h.

◆ aboveBoost

template<FloatType T, int MaxBands = 8>
bool dspark::DynamicEQ< T, MaxBands >::BandConfig::aboveBoost = false

Definition at line 235 of file DynamicEQ.h.

◆ aboveRangeDb

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::aboveRangeDb = T(12)

Definition at line 234 of file DynamicEQ.h.

◆ aboveRatio

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::aboveRatio = T(1)

Definition at line 231 of file DynamicEQ.h.

◆ aboveReleaseMs

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::aboveReleaseMs = T(50)

Definition at line 233 of file DynamicEQ.h.

◆ belowAttackMs

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::belowAttackMs = T(10)

Definition at line 238 of file DynamicEQ.h.

◆ belowBoost

template<FloatType T, int MaxBands = 8>
bool dspark::DynamicEQ< T, MaxBands >::BandConfig::belowBoost = false

Definition at line 241 of file DynamicEQ.h.

◆ belowRangeDb

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::belowRangeDb = T(12)

Definition at line 240 of file DynamicEQ.h.

◆ belowRatio

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::belowRatio = T(1)

Definition at line 237 of file DynamicEQ.h.

◆ belowReleaseMs

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::belowReleaseMs = T(100)

Definition at line 239 of file DynamicEQ.h.

◆ enabled

template<FloatType T, int MaxBands = 8>
bool dspark::DynamicEQ< T, MaxBands >::BandConfig::enabled = true

Definition at line 221 of file DynamicEQ.h.

◆ frequency

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

Definition at line 217 of file DynamicEQ.h.

◆ gain

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

Gain of the band at rest, in dB (-24 to 24). The dynamic part moves from here.

Definition at line 223 of file DynamicEQ.h.

◆ knee

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::knee = T(0)

Width of the knee around the threshold in dB (0 to 40); negative (kAutomaticKnee): from the band's width and range.

Definition at line 224 of file DynamicEQ.h.

◆ listenHigh

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::listenHigh = T(0)

High edge of that zone; with both at 0 the detector listens where the band acts.

Definition at line 229 of file DynamicEQ.h.

◆ listenLow

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::listenLow = T(0)

Low edge, in Hz, of the zone the detector listens to; 0: no edge on that side.

Definition at line 228 of file DynamicEQ.h.

◆ q

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::q = T(1.0)

Definition at line 218 of file DynamicEQ.h.

◆ relativeThreshold

template<FloatType T, int MaxBands = 8>
bool dspark::DynamicEQ< T, MaxBands >::BandConfig::relativeThreshold = false

The threshold counts from the band's own recent level instead of from full scale.

Definition at line 227 of file DynamicEQ.h.

◆ scope

template<FloatType T, int MaxBands = 8>
Scope dspark::DynamicEQ< T, MaxBands >::BandConfig::scope = Scope::Stereo

The channels the band acts on and listens to.

Definition at line 225 of file DynamicEQ.h.

◆ shape

template<FloatType T, int MaxBands = 8>
BandShape dspark::DynamicEQ< T, MaxBands >::BandConfig::shape = BandShape::Bell

Definition at line 220 of file DynamicEQ.h.

◆ threshold

template<FloatType T, int MaxBands = 8>
T dspark::DynamicEQ< T, MaxBands >::BandConfig::threshold = T(-20)

Definition at line 219 of file DynamicEQ.h.

◆ timing

template<FloatType T, int MaxBands = 8>
Timing dspark::DynamicEQ< T, MaxBands >::BandConfig::timing = Timing::Manual

Program: the times come from the band, and the attack and release fields are not used.

Definition at line 226 of file DynamicEQ.h.


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