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

◆ reset()

void fl::audio::detector::DynamicsAnalyzer::reset ( )
overridevirtual

Reimplemented from fl::audio::Detector.

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

97 {
98 mRMSHistory.clear();
99 mHistoryIndex = 0;
100 mCurrentRMS = 0.0f;
101 mAverageRMS = 0.0f;
102 mPeakRMS = 0.0f;
103 mMinRMS = 1.0f;
104 mTrend = 0.0f;
105 mCompressionRatio = 1.0f;
106 mIsCrescendo = false;
107 mIsDiminuendo = false;
108 mPrevIsCrescendo = false;
109 mPrevIsDiminuendo = false;
110 mLastUpdateTime = 0;
111}

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