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

Method isAboveFloor

src/fl/audio/noise_floor_tracker.cpp.hpp:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool NoiseFloorTracker::isAboveFloor(float level) const {
72 // Check if signal exceeds floor plus hysteresis margin
73 return level > (mCurrentFloor + mConfig.hysteresisMargin);
74}
75
76void NoiseFloorTracker::updateFloor(float level) {
77 // Exponential moving average tracking of noise floor

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected