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

◆ setThresholds()

void fl::audio::BeatDetectors::setThresholds ( float bassThresh,
float midThresh,
float trebleThresh )

Definition at line 899 of file audio_reactive.cpp.hpp.

899 {
900#if SKETCH_HAS_LARGE_MEMORY
901 bass.setThreshold(bassThresh);
902 mid.setThreshold(midThresh);
903 treble.setThreshold(trebleThresh);
904#else
905 combined.setThreshold((bassThresh + midThresh + trebleThresh) / 3.0f);
906#endif
907}
SpectralFluxDetector combined

References combined.

Referenced by ~BeatDetectors().

+ Here is the caller graph for this function: