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

◆ updateAdaptiveThreshold()

void fl::audio::detector::Beat::updateAdaptiveThreshold ( )
private

Definition at line 104 of file beat.cpp.hpp.

104 {
105 // O(1) running average via MovingAverage filter
106 float mean = mFluxAvg.update(mSpectralFlux);
108}
MovingAverage< float, 43 > mFluxAvg
Definition beat.h:62

References mAdaptiveThreshold, mFluxAvg, mSensitivity, mSpectralFlux, and mThreshold.

Referenced by update().

+ Here is the caller graph for this function: