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

◆ setThresholds()

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

Definition at line 699 of file audio_reactive.cpp.

699 {
700#if SKETCH_HAS_LOTS_OF_MEMORY
701 bass.setThreshold(bassThresh);
702 mid.setThreshold(midThresh);
703 treble.setThreshold(trebleThresh);
704#else
705 combined.setThreshold((bassThresh + midThresh + trebleThresh) / 3.0f);
706#endif
707}
SpectralFluxDetector combined

References combined.