|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
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 563 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 198 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 571 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 548 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 558 of file Smoothers.h.
|
inlinenoexcept |
Definition at line 576 of file Smoothers.h.
|
staticconstexpr |
Definition at line 191 of file Smoothers.h.