Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
486
float Processor::getPeakLevel() {
487
return clamp01(getEnergyAnalyzer()->getPeak());
488
}
489
490
float Processor::getBassLevel() {
491
return clamp01(getFrequencyBands()->getBassNorm());
Callers
nothing calls this directly
Calls
2
clamp01
Function · 0.85
getPeak
Method · 0.80
Tested by
no test coverage detected