VCV Rack API v2
Loading...
Searching...
No Matches
rack::dsp::TExponentialSlewLimiter< T > Struct Template Reference

Behaves like ExponentialFilter but with different lambas when the RHS of the ODE is positive or negative. More...

#include <filter.hpp>

Public Member Functions

void reset ()
 
void setRiseFall (T riseLambda, T fallLambda)
 
void setRiseFallTau (T riseTau, T fallTau)
 
process (T deltaTime, T in)
 
DEPRECATEDprocess (T in)
 

Public Attributes

out = 0.f
 
riseLambda = 0.f
 
fallLambda = 0.f
 

Detailed Description

template<typename T = float>
struct rack::dsp::TExponentialSlewLimiter< T >

Behaves like ExponentialFilter but with different lambas when the RHS of the ODE is positive or negative.

Member Function Documentation

◆ reset()

template<typename T = float>
void rack::dsp::TExponentialSlewLimiter< T >::reset ( )
inline

◆ setRiseFall()

template<typename T = float>
void rack::dsp::TExponentialSlewLimiter< T >::setRiseFall ( T riseLambda,
T fallLambda )
inline

◆ setRiseFallTau()

template<typename T = float>
void rack::dsp::TExponentialSlewLimiter< T >::setRiseFallTau ( T riseTau,
T fallTau )
inline

◆ process() [1/2]

template<typename T = float>
T rack::dsp::TExponentialSlewLimiter< T >::process ( T deltaTime,
T in )
inline

◆ process() [2/2]

template<typename T = float>
DEPRECATED T rack::dsp::TExponentialSlewLimiter< T >::process ( T in)
inline

Member Data Documentation

◆ out

template<typename T = float>
T rack::dsp::TExponentialSlewLimiter< T >::out = 0.f

◆ riseLambda

template<typename T = float>
T rack::dsp::TExponentialSlewLimiter< T >::riseLambda = 0.f

◆ fallLambda

template<typename T = float>
T rack::dsp::TExponentialSlewLimiter< T >::fallLambda = 0.f

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