|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
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 433 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 110 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 450 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 401 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 442 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 410 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 455 of file Smoothers.h.
|
staticconstexpr |
Definition at line 103 of file Smoothers.h.