Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ isGated
Method
isGated
src/fl/audio/silence_envelope.cpp.hpp:38–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
}
37
38
bool SilenceEnvelope::isGated(float epsilon) const FL_NOEXCEPT {
39
float delta = mCurrent - mConfig.targetValue;
40
if (delta < 0.0f) delta = -delta;
41
return delta <= epsilon;
42
}
43
44
} // namespace audio
45
} // namespace fl
Callers
1
silence_envelope.hpp
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected