Signalsmith Audio's DSP Library  1.6.0
Useful C++ classes/templates for audio effects
Types | Static Attributes | Methods | Attributes
signalsmith::delay::InterpolatorLagrangeN< Sample, n > Struct Template Reference

#include <delay.h>

Detailed Description

template<typename Sample, int n>
struct signalsmith::delay::InterpolatorLagrangeN< Sample, n >

Fixed-order Lagrange interpolation.

aliasing and amplitude/delay errors for different sizes

Types

using Array = std::array< Sample,(n+1)>
 

Static Attributes

static constexpr int inputLength = n + 1
 
static constexpr int latency = (n - 1)/2
 

Methods

template<class Data >
Sample fractional (const Data &data, Sample fractional) const
 

Attributes

Array invDivisors