7 fl::lock_guard<fl::mutex> lock(
mMutex);
16 if (af.treble >
mPeaks.treble)
18 if (af.volume >
mPeaks.volume)
26 fl::lock_guard<fl::mutex> lock(
mMutex);
43 fl::lock_guard<fl::mutex> lock(
mMutex);
50 mEq.dominantFreqHz =
mProc->getEqDominantFreqHz();
51 mEq.isSilence =
mProc->getEqIsSilence();
62 fl::lock_guard<fl::mutex> lock(
mMutex);
fl::span< const AudioFrame > mFrames
const EqLevels & equalizer() const
const PercussionState & percussion() const
const VibeLevels & vibe() const
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.