Functions

Finite impulse response filter. More...

Functions

void tFIR_init (tFIR *const, float *coeffs, int numTaps, LEAF *const leaf)
 Initialize a tFIR to the default mempool of a LEAF instance. More...
 
void tFIR_initToPool (tFIR *const, float *coeffs, int numTaps, tMempool *const)
 Initialize a tFIR to a specified mempool. More...
 
void tFIR_free (tFIR *const)
 Free a tFIR from its mempool. More...
 
float tFIR_tick (tFIR *const, float input)
 

Detailed Description

Finite impulse response filter.

Function Documentation

◆ tFIR_init()

void tFIR_init ( tFIR * const  ,
float *  coeffs,
int  numTaps,
LEAF *const  leaf 
)

Initialize a tFIR to the default mempool of a LEAF instance.

Parameters
filterA pointer to the tFIR to initialize.
leafA pointer to the leaf instance.

◆ tFIR_initToPool()

void tFIR_initToPool ( tFIR * const  ,
float *  coeffs,
int  numTaps,
tMempool * const   
)

Initialize a tFIR to a specified mempool.

Parameters
filterA pointer to the tFIR to initialize.
mempoolA pointer to the tMempool to use.

◆ tFIR_free()

void tFIR_free ( tFIR * const  )

Free a tFIR from its mempool.

Parameters
filterA pointer to the tFIR to free.

◆ tFIR_tick()

float tFIR_tick ( tFIR * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tFIR.