8 fl::lock_guard<fl::mutex> lock(
mMutex);
17 if (af.treble >
mPeaks.treble)
19 if (af.volume >
mPeaks.volume)
27 fl::lock_guard<fl::mutex> lock(
mMutex);
44 fl::lock_guard<fl::mutex> lock(
mMutex);
51 mEq.dominantFreqHz =
mProc->getEqDominantFreqHz();
52 mEq.isSilence =
mProc->getEqIsSilence();
63 fl::lock_guard<fl::mutex> lock(
mMutex);
void ensurePeaks() const FL_NO_EXCEPT
const VibeLevels & vibe() const FL_NO_EXCEPT
const EqLevels & equalizer() const FL_NO_EXCEPT
fl::span< const AudioFrame > mFrames
const PercussionState & percussion() const FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
Base definition for an LED controller.
Snapshot of self-normalizing MilkDrop-style vibe levels.
Snapshot of percussion detection state.
Lightweight snapshot of pre-computed audio analysis for one audio sample.
static constexpr int kNumBins
Snapshot of 16-bin normalized spectrum.