|
DSPark 1.8.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 188 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 197 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 570 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 198 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 578 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 555 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 565 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 583 of file Smoothers.h.
|
staticconstexpr |
Definition at line 191 of file Smoothers.h.