Go to the source code of this file.
◆ fl::audio::detector::EqualizerConfig
| struct fl::audio::detector::EqualizerConfig |
| Class Members |
|
EqualizationCurve |
curve = EqualizationCurve::Flat |
Spectral equalization curve applied to FFT bins before normalization. |
|
float |
maxFreq = 5120.0f |
High end of spectrum (Hz) |
|
float |
minFreq = 90.0f |
Low end of spectrum (Hz). Must be >= FFT bin width (sampleRate/fftSize, e.g. 86 Hz at 44100/512) to ensure bin 0 receives data. |
|
float |
normAttack = 0.001f |
Normalization attack time (seconds) |
|
float |
normDecay = 4.0f |
Normalization decay time (seconds) |
|
float |
outputAttack = 0.0f |
Output smoothing with separate attack/decay (dynamics limiter). When outputAttack > 0 AND outputDecay > 0, uses AttackDecayFilter instead of ExponentialSmoother for per-bin output smoothing. WLED-MM uses attack ~24-50ms, decay ~250-300ms. Output attack time (seconds). 0 = use smoothing tau.
|
|
float |
outputDecay = 0.0f |
Output decay time (seconds). 0 = use smoothing tau. |
|
FFTScalingMode |
scalingMode = FFTScalingMode::None |
FFT bin scaling mode applied to raw magnitudes before normalization. |
|
float |
silenceThreshold = 10.0f |
Raw RMS threshold for silence detection. |
|
float |
smoothing = 0.05f |
Bin temporal smoothing (ExponentialSmoother tau, used as attack) |