MCPcopy Create free account
hub / github.com/FastLED/FastLED / getPeakLevel

Method getPeakLevel

src/fl/audio/audio_processor.cpp.hpp:486–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486float Processor::getPeakLevel() {
487 return clamp01(getEnergyAnalyzer()->getPeak());
488}
489
490float Processor::getBassLevel() {
491 return clamp01(getFrequencyBands()->getBassNorm());

Callers

nothing calls this directly

Calls 2

clamp01Function · 0.85
getPeakMethod · 0.80

Tested by

no test coverage detected