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

Method getVol

src/fl/audio/detector/vibe.h:93–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 float getMid() const FL_NOEXCEPT { return mImmRel[1]; }
92 float getTreb() const FL_NOEXCEPT { return mImmRel[2]; }
93 float getVol() const FL_NOEXCEPT { return (mImmRel[0] + mImmRel[1] + mImmRel[2]) / 3.0f; }
94
95 // ---- Smoothed relative levels ("attenuated") ----
96 // Short-term smoothed versions. When bass > bassAtt, a beat is happening.

Callers 2

getVibeVolMethod · 0.80
vibe.hppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected