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

#include <delay.h>

Detailed Description

template<typename Sample, int n, bool minimumPhase = false>
struct signalsmith::delay::InterpolatorKaiserSincN< Sample, n, minimumPhase >

Fixed-size Kaiser-windowed sinc interpolation.

aliasing and amplitude/delay errors for different sizes

If minimumPhase is enabled, a minimum-phase version of the kernel is used:

aliasing and amplitude/delay errors for minimum-phase mode

Static Attributes

static constexpr int inputLength = n
 
static constexpr Sample latency = minimumPhase ? 0 : (n*Sample(0.5) - 1)
 

Methods

 InterpolatorKaiserSincN (double passFreq)
 
 InterpolatorKaiserSincN (double passFreq, double stopFreq)
 
template<class Data >
Sample fractional (const Data &data, Sample fractional) const
 

Attributes

int subSampleSteps
 
std::vector< Sample > coefficients