|
FastLED 3.9.15
|
Definition at line 160 of file audio_reactive.h.
#include <audio_reactive.h>
Collaboration diagram for fl::SpectralFluxDetector:Public Member Functions | |
| SpectralFluxDetector () | |
| ~SpectralFluxDetector () | |
| float | calculateSpectralFlux (const float *currentBins, const float *previousBins) |
| bool | detectOnset (const float *currentBins, const float *previousBins) |
| float | getThreshold () const |
| void | reset () |
| void | setThreshold (float threshold) |
Private Attributes | |
| float | mFluxThreshold |
| fl::array< float, 16 > | mPreviousMagnitudes |