|
JPL Spatial
Sound spatialization and propagation library
|
First-order Thiran fractional–delay all-pass interpolator. More...
#include <JPLSpatial/Auralization/FractionalDelay.h>
Public Member Functions | |
| Thiran1stInterpolator ()=default | |
| void | SetFraction (float fraction) |
| float | GetFraction () const |
| float | Process (std::span< const float, InputLength > data) noexcept |
| void | Reset (float v=0.0f) noexcept |
| Zero the state. | |
Static Public Attributes | |
| static constexpr uint32 | InputLength = 2 |
First-order Thiran fractional–delay all-pass interpolator.
|
default |
|
inline |
|
inlinenoexcept |
Process two samples taken from the integer tap of the delay line.
| data | must point to contiguous buffer of two last samples from oldest to newest. |
| fraction | must be in [0,1). |