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

◆ setThreshold() [2/2]

void fl::audio::detector::Vocal::setThreshold ( float threshold)
inline

Definition at line 42 of file vocal.h.

42{ mOnThreshold = threshold; mOffThreshold = fl::max(0.0f, threshold - 0.13f); }
constexpr common_type_t< T, U > max(T a, U b) FL_NO_EXCEPT
Definition math.h:75

References fl::FL_NO_EXCEPT, fl::max(), mOffThreshold, and mOnThreshold.

Referenced by setThreshold().

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