|
FastLED 3.9.15
|
Snapshot of equalizer state, passed to onEqualizer callbacks.
Definition at line 49 of file equalizer.h.
#include <equalizer.h>
Collaboration diagram for fl::audio::detector::Equalizer:Public Attributes | |
| float | bass = 0 |
| 0.0-1.0 | |
| span< const float, kNumBins > | bins |
| 16 bins, each 0.0-1.0 | |
| float | dominantFreqHz = 0.0f |
| Frequency of strongest bin (Hz) | |
| float | dominantMagnitude = 0.0f |
| Magnitude of strongest bin (0.0-1.0, normalized) | |
| bool | isSilence = false |
| True when input signal is effectively silent. | |
| float | mid = 0 |
| 0.0-1.0 | |
| float | treble = 0 |
| 0.0-1.0 | |
| float | volume = 0 |
| 0.0-1.0 (self-normalized RMS) | |
| float | volumeDb = -100.0f |
| Volume in approximate dB (roughly -100 to 0) | |
| float | volumeNormFactor = 1.0f |
| Volume normalization factor (1/volumeMax). Higher = quieter input was scaled more. | |
| float | zcf = 0 |
| 0.0-1.0 (zero-crossing factor) | |
Static Public Attributes | |
| static constexpr int | kNumBins = 16 |