Linear fractional interpolator.
More...
#include <JPLSpatial/Auralization/FractionalDelay.h>
Linear fractional interpolator.
◆ LinearInterpolator()
| JPL::LinearInterpolator::LinearInterpolator |
( |
| ) |
|
|
default |
◆ GetFraction()
| float JPL::LinearInterpolator::GetFraction |
( |
| ) |
const |
|
inline |
◆ Process()
| float JPL::LinearInterpolator::Process |
( |
std::span< const float, InputLength > | data | ) |
const |
|
inlinenoexcept |
Process two samples taken from the integer tap of the delay line.
- Parameters
-
| data | must point to contiguous buffer of two last samples from newest to oldest. |
◆ SetFraction()
| void JPL::LinearInterpolator::SetFraction |
( |
float | fraction | ) |
|
|
inline |
- Parameters
-
| fraction | must be in (0, 1). |
◆ InputLength
| uint32 JPL::LinearInterpolator::InputLength = 2 |
|
inlinestaticconstexpr |
The documentation for this class was generated from the following file: