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

◆ applyPerceptualWeighting()

void fl::AudioReactive::applyPerceptualWeighting ( )
private

Definition at line 519 of file audio_reactive.cpp.

519 {
520 // Apply perceptual weighting if available
522 mPerceptualWeighting->applyAWeighting(mCurrentData);
523
524 // Apply loudness compensation with reference level of 50.0f
525 mPerceptualWeighting->applyLoudnessCompensation(mCurrentData, 50.0f);
526 }
527}
fl::unique_ptr< PerceptualWeighting > mPerceptualWeighting

References mCurrentData, and mPerceptualWeighting.

Referenced by processSample().

+ Here is the caller graph for this function: