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

◆ DynamicsAnalyzer()

fl::audio::detector::DynamicsAnalyzer::DynamicsAnalyzer ( )

Definition at line 10 of file dynamics_analyzer.cpp.hpp.

11 : mHistorySize(86) // ~2 seconds at 43fps
12 , mHistoryIndex(0)
13 , mCurrentRMS(0.0f)
14 , mAverageRMS(0.0f)
15 , mPeakRMS(0.0f)
16 , mMinRMS(1.0f)
17 , mTrend(0.0f)
18 , mCompressionRatio(1.0f)
19 , mPeakDecay(0.99f)
20 , mSmoothingFactor(0.9f)
21 , mTrendThreshold(0.15f)
22 , mIsCrescendo(false)
23 , mIsDiminuendo(false)
24 , mPrevIsCrescendo(false)
25 , mPrevIsDiminuendo(false)
27{
29}

References mAverageRMS, mCompressionRatio, mCurrentRMS, mHistoryIndex, mHistorySize, mIsCrescendo, mIsDiminuendo, mLastUpdateTime, mMinRMS, mPeakDecay, mPeakRMS, mPrevIsCrescendo, mPrevIsDiminuendo, mRMSHistory, mSmoothingFactor, mTrend, and mTrendThreshold.

Referenced by update().

+ Here is the caller graph for this function: