DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::Smoothers::MultiPoleSmoother< N > Class Template Reference

Templated cascaded multi-pole smoother for steeper roll-off. More...

#include <Smoothers.h>

Public Member Functions

void reset (double sampleRate, float timeConstantMilliseconds, 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
 

Static Public Attributes

static constexpr float epsilon = 1e-6f
 

Detailed Description

template<std::size_t N>
class dspark::Smoothers::MultiPoleSmoother< N >

Templated cascaded multi-pole smoother for steeper roll-off.

Definition at line 171 of file Smoothers.h.

Member Function Documentation

◆ getCurrentValue()

template<std::size_t N>
float dspark::Smoothers::MultiPoleSmoother< N >::getCurrentValue ( ) const
inlinenoexcept

Definition at line 182 of file Smoothers.h.

◆ getNextValue()

template<std::size_t N>
float dspark::Smoothers::MultiPoleSmoother< N >::getNextValue ( )
inlinenoexcept

Definition at line 578 of file Smoothers.h.

◆ getTargetValue()

template<std::size_t N>
float dspark::Smoothers::MultiPoleSmoother< N >::getTargetValue ( ) const
inlinenoexcept

Definition at line 183 of file Smoothers.h.

◆ isSmoothing()

template<std::size_t N>
bool dspark::Smoothers::MultiPoleSmoother< N >::isSmoothing ( ) const
inlinenoexcept

Definition at line 590 of file Smoothers.h.

◆ reset()

template<std::size_t N>
void dspark::Smoothers::MultiPoleSmoother< N >::reset ( double  sampleRate,
float  timeConstantMilliseconds,
float  initialValue = 0.0f 
)
inlinenoexcept

Definition at line 565 of file Smoothers.h.

◆ setTargetValue()

template<std::size_t N>
void dspark::Smoothers::MultiPoleSmoother< N >::setTargetValue ( float  newTarget)
inlinenoexcept

Definition at line 572 of file Smoothers.h.

◆ skip()

template<std::size_t N>
void dspark::Smoothers::MultiPoleSmoother< N >::skip ( )
inlinenoexcept

Definition at line 602 of file Smoothers.h.

Member Data Documentation

◆ epsilon

template<std::size_t N>
constexpr float dspark::Smoothers::MultiPoleSmoother< N >::epsilon = 1e-6f
staticconstexpr

Definition at line 176 of file Smoothers.h.


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