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

◆ reset()

void fl::audio::BeatDetectors::reset ( )

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

865 {
866#if SKETCH_HAS_LARGE_MEMORY
867 bass.reset();
868 mid.reset();
869 treble.reset();
870#else
871 combined.reset();
872#endif
873
874 mBassEnergy = 0.0f;
875 mMidEnergy = 0.0f;
876 mTrebleEnergy = 0.0f;
877 mPreviousBassEnergy = 0.0f;
878 mPreviousMidEnergy = 0.0f;
880}
SpectralFluxDetector combined

References BeatDetectors(), combined, mBassEnergy, mMidEnergy, mPreviousBassEnergy, mPreviousMidEnergy, mPreviousTrebleEnergy, mTrebleEnergy, and reset().

Referenced by ~BeatDetectors(), and reset().

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