FastLED 3.10.8
Loading...
Searching...
No Matches
fl::audio::SpectralFluxDetector Class Reference

Detailed Description

Definition at line 299 of file audio_reactive.h.

#include <audio_reactive.h>

+ Collaboration diagram for fl::audio::SpectralFluxDetector:

Public Member Functions

 SpectralFluxDetector () FL_NO_EXCEPT
 
 ~SpectralFluxDetector () FL_NO_EXCEPT
 
float calculateSpectralFlux (span< const float, 16 > currentBins, span< const float, 16 > previousBins) FL_NO_EXCEPT
 
bool detectOnset (span< const float, 16 > currentBins) FL_NO_EXCEPT
 
float getThreshold () const FL_NO_EXCEPT
 
void reset () FL_NO_EXCEPT
 
void setThreshold (float threshold) FL_NO_EXCEPT
 

Private Attributes

float mFluxThreshold
 
fl::array< float, 16 > mPreviousMagnitudes
 

The documentation for this class was generated from the following files: