FastLED 3.10.8
Loading...
Searching...
No Matches

◆ updatePitchSmoothing() [2/2]

void fl::audio::detector::Pitch::updatePitchSmoothing ( float newPitch)
private

Definition at line 230 of file pitch.cpp.hpp.

230 {
231 // OneEuroFilter: adaptive — low jitter when pitch stable, low lag on changes
232 mSmoothedPitch = mPitchSmoother.update(newPitch, mLastDt);
233}
OneEuroFilter< float > mPitchSmoother
Definition pitch.h:82

References fl::FL_NO_EXCEPT, mLastDt, mPitchSmoother, and mSmoothedPitch.

Referenced by update().

+ Here is the caller graph for this function: