JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::DelayTap< InterpolatorT > Struct Template Reference

#include <JPLSpatial/Auralization/DelayLine.h>

Public Types

using InterpolatorType = InterpolatorT
 

Public Member Functions

void SetDelay (float delay)
 Set delay is in samples, can be fractional.
 
template<class DelayLine >
requires (DelayLine::WindowSize >= InterpolatorType::InputLength)
float Process (const DelayLine &delayLine)
 Process delay interpolation and get the delayed sample.
 

Public Attributes

int DelaySample = 0
 
InterpolatorType Interpolator
 

Detailed Description

template<class InterpolatorT = Thiran1stInterpolator>
struct JPL::DelayTap< InterpolatorT >

Simple delay tap that supports sub-sample interpolation via Interpolator template interface

Member Typedef Documentation

◆ InterpolatorType

template<class InterpolatorT = Thiran1stInterpolator>
using JPL::DelayTap< InterpolatorT >::InterpolatorType = InterpolatorT

Member Function Documentation

◆ Process()

template<class InterpolatorT = Thiran1stInterpolator>
template<class DelayLine >
requires (DelayLine::WindowSize >= InterpolatorType::InputLength)
float JPL::DelayTap< InterpolatorT >::Process ( const DelayLine delayLine)
inline

Process delay interpolation and get the delayed sample.

◆ SetDelay()

template<class InterpolatorT = Thiran1stInterpolator>
void JPL::DelayTap< InterpolatorT >::SetDelay ( float  delay)
inline

Set delay is in samples, can be fractional.

Member Data Documentation

◆ DelaySample

template<class InterpolatorT = Thiran1stInterpolator>
int JPL::DelayTap< InterpolatorT >::DelaySample = 0

◆ Interpolator

template<class InterpolatorT = Thiran1stInterpolator>
InterpolatorType JPL::DelayTap< InterpolatorT >::Interpolator

The documentation for this struct was generated from the following file: