Rate limiter to cap maximum change per sample.
More...
#include <Smoothers.h>
|
| static constexpr float | epsilon = 1e-6f |
| |
Rate limiter to cap maximum change per sample.
Definition at line 215 of file Smoothers.h.
◆ getCurrentValue()
| float dspark::Smoothers::SlewLimiter::getCurrentValue |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNextValue()
| float dspark::Smoothers::SlewLimiter::getNextValue |
( |
| ) |
|
|
inlinenoexcept |
◆ getTargetValue()
| float dspark::Smoothers::SlewLimiter::getTargetValue |
( |
| ) |
const |
|
inlinenoexcept |
◆ isSmoothing()
| bool dspark::Smoothers::SlewLimiter::isSmoothing |
( |
| ) |
const |
|
inlinenoexcept |
◆ reset()
| void dspark::Smoothers::SlewLimiter::reset |
( |
double |
sampleRate, |
|
|
float |
maxRatePerSecond, |
|
|
float |
initialValue = 0.0f |
|
) |
| |
|
inlinenoexcept |
◆ setTargetValue()
| void dspark::Smoothers::SlewLimiter::setTargetValue |
( |
float |
newTarget | ) |
|
|
inlinenoexcept |
◆ skip()
| void dspark::Smoothers::SlewLimiter::skip |
( |
| ) |
|
|
inlinenoexcept |
◆ epsilon
| constexpr float dspark::Smoothers::SlewLimiter::epsilon = 1e-6f |
|
staticconstexpr |
The documentation for this class was generated from the following file: