|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
Smoother with asymmetric attack/release times. More...
#include <Smoothers.h>
Public Member Functions | |
| void | reset (double sampleRate, float attackMilliseconds, float releaseMilliseconds, 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 |
Smoother with asymmetric attack/release times.
The attack time applies while the value rises towards the target and the release time while it falls, following the envelope-follower convention.
Definition at line 198 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 207 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 632 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 208 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 640 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 617 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 627 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 645 of file Smoothers.h.
|
staticconstexpr |
Definition at line 201 of file Smoothers.h.