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

◆ getMid()

float fl::audio::Reactive::getMid ( ) const

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

531 {
532 // Average of bins 6-7 (midrange around 1kHz)
533 return (mCurrentData.frequencyBins[6] + mCurrentData.frequencyBins[7]) / 2.0f;
534}

References fl::FL_NO_EXCEPT, and mCurrentData.