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

◆ configure()

void fl::audio::detector::MusicalBeat::configure ( const MusicalBeatDetectorConfig & config)

Configure the beat detector.

Definition at line 19 of file musical_beat_detector.cpp.hpp.

19 {
20 mConfig = config;
21 mIBIHistory.clear();
22 reset();
23}
deque< u32 > mIBIHistory
Inter-beat interval history (in frames)
void reset()
Reset internal state (clear history, reset BPM)

References MusicalBeat(), configure(), mConfig, mIBIHistory, and reset().

Referenced by MusicalBeat(), ~MusicalBeat(), and configure().

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