MCPcopy Create free account
hub / github.com/FastLED/FastLED / getConfidence

Method getConfidence

src/fl/audio/detector/vocal.h:41–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 // State access
40 bool isVocal() const { return mVocalActive; }
41 float getConfidence() const { return mConfidenceSmoother.value(); }
42 void setThreshold(float threshold) { mOnThreshold = threshold; mOffThreshold = fl::max(0.0f, threshold - 0.13f); }
43 void setSmoothingAlpha(float tau) { mConfidenceSmoother.setTau(tau); }
44

Callers

nothing calls this directly

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected