|
FastLED 3.10.8
|
Definition at line 322 of file audio_reactive.h.
#include <audio_reactive.h>
Collaboration diagram for fl::audio::BeatDetectors:Public Member Functions | |
| BeatDetectors () FL_NO_EXCEPT | |
| ~BeatDetectors () FL_NO_EXCEPT | |
| void | detectBeats (span< const float, 16 > frequencyBins, Data &audioData) FL_NO_EXCEPT |
| void | reset () FL_NO_EXCEPT |
| void | setThresholds (float bassThresh, float midThresh, float trebleThresh) FL_NO_EXCEPT |
Private Attributes | |
| SpectralFluxDetector | combined |
| float | mBassEnergy |
| float | mMidEnergy |
| float | mPreviousBassEnergy |
| float | mPreviousMidEnergy |
| float | mPreviousTrebleEnergy |
| float | mTrebleEnergy |