|
JPL Spatial
Sound spatialization and propagation library
|
Linear fractional interpolator. More...
#include <JPLSpatial/Auralization/FractionalDelay.h>
Public Member Functions | |
| LinearInterpolator ()=default | |
| void | SetFraction (float fraction) |
| float | GetFraction () const |
| float | Process (std::span< const float, InputLength > data) const noexcept |
Static Public Attributes | |
| static constexpr uint32 | InputLength = 2 |
Linear fractional 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 newest to oldest. |
| fraction | must be in (0, 1). |