FastLED 3.10.8
Loading...
Searching...
No Matches

◆ getPeakLevel()

float fl::audio::Processor::getPeakLevel ( )

Definition at line 486 of file audio_processor.cpp.hpp.

486 {
487 return clamp01(getEnergyAnalyzer()->getPeak());
488}
shared_ptr< detector::EnergyAnalyzer > getEnergyAnalyzer() FL_NO_EXCEPT
static float clamp01(float v) FL_NO_EXCEPT

References fl::audio::clamp01(), fl::FL_NO_EXCEPT, getEnergyAnalyzer(), and getPeakLevel().

Referenced by getPeakLevel(), fl::audio::Reactive::getPeakLevel(), and onDropImpact().

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