|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
Per-stream second-order ADAA state. More...
#include <Adaa.h>
Public Member Functions | |
| void | reset (double u=0.0) noexcept |
| void | track (double u) noexcept |
| void | invalidate () noexcept |
| template<class Curve > | |
| double | process (double u) noexcept |
| double | previousInput () const noexcept |
Per-stream second-order ADAA state.
process<Curve>(u) returns the antialiased curve output for the input history (u, u[n-1], u[n-2]), centred on u[n-1]. The cached point values belong to one curve: call invalidate() when the caller switches curves (they are rebuilt from the raw input history on the next process()). track(u) only records the input, so antialiasing can start later from real history; reset(u) holds u as the whole history.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |