FastLED 3.9.15
Loading...
Searching...
No Matches

◆ clampNeg1To1()

static float fl::audio::clampNeg1To1 ( float v)
static

Definition at line 464 of file audio_processor.cpp.hpp.

464 {
465 if (v < -1.0f) return -1.0f;
466 if (v > 1.0f) return 1.0f;
467 return v;
468}

References clampNeg1To1().

Referenced by clampNeg1To1(), fl::audio::Processor::getDynamicTrend(), and fl::audio::Processor::getMoodValence().

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