DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
dspark::Smoothers::CriticallyDampedSmoother Class Reference

Critically damped smoother (no overshoot, exact Q=0.5). More...

#include <Smoothers.h>

Inheritance diagram for dspark::Smoothers::CriticallyDampedSmoother:
Collaboration diagram for dspark::Smoothers::CriticallyDampedSmoother:

Public Member Functions

void reset (double sampleRate, float timeConstantMilliseconds, float initialValue=0.0f) noexcept
 
- Public Member Functions inherited from dspark::Smoothers::StateVariableSmoother
void reset (double sampleRate, float timeConstantMilliseconds, float q=0.707f, float initialValue=0.0f) noexcept
 
void setTargetValue (float newTarget) noexcept
 
float getNextValue () noexcept
 
float getCurrentValue () const noexcept
 
float getTargetValue () const noexcept
 
bool isSmoothing () const noexcept
 
void skip () noexcept
 
float getBandPassOutput () const noexcept
 
float getHighPassOutput () const noexcept
 

Additional Inherited Members

- Static Public Attributes inherited from dspark::Smoothers::StateVariableSmoother
static constexpr float epsilon = 1e-6f
 

Detailed Description

Critically damped smoother (no overshoot, exact Q=0.5).

Definition at line 313 of file Smoothers.h.

Member Function Documentation

◆ reset()

void dspark::Smoothers::CriticallyDampedSmoother::reset ( double  sampleRate,
float  timeConstantMilliseconds,
float  initialValue = 0.0f 
)
inlinenoexcept

Definition at line 771 of file Smoothers.h.


The documentation for this class was generated from the following file: