|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
Exponential (multiplicative) smoother for natural, perceptual responses. More...
#include <Smoothers.h>
Public Member Functions | |
| void | reset (double sampleRate, float timeConstantMilliseconds, float initialValue=1.0f) noexcept |
| void | setTargetValue (float newTarget) noexcept |
| float | getNextValue () noexcept |
| float | getCurrentValue () const noexcept |
| float | getTargetValue () const noexcept |
| void | setCurrentAndTargetValue (float value) noexcept |
| bool | isSmoothing () const noexcept |
| void | skip () noexcept |
Static Public Attributes | |
| static constexpr float | epsilon = 1e-10f |
Exponential (multiplicative) smoother for natural, perceptual responses.
Use for: Filter cutoffs, frequencies, volumes in dB.
Definition at line 100 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 109 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 440 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 110 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 457 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 401 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 449 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 410 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 462 of file Smoothers.h.
|
staticconstexpr |
Definition at line 103 of file Smoothers.h.