FastLED 3.9.15
Loading...
Searching...
No Matches

◆ applyAWeighting()

void fl::audio::PerceptualWeighting::applyAWeighting ( Data & data) const

Definition at line 927 of file audio_reactive.cpp.hpp.

927 {
928 // Apply A-weighting coefficients to frequency bins
929 for (int i = 0; i < 16; ++i) {
930 data.frequencyBins[i] *= A_WEIGHTING_COEFFS[i];
931 }
932}
static constexpr float A_WEIGHTING_COEFFS[16]

References PerceptualWeighting(), A_WEIGHTING_COEFFS, and applyAWeighting().

Referenced by ~PerceptualWeighting(), and applyAWeighting().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: