Functions
tButterworth

Butterworth filter. More...

Functions

void tButterworth_initToPool (tButterworth *const, int N, float f1, float f2, tMempool *const)
 Initialize a tButterworth to a specified mempool. More...
 
void tButterworth_free (tButterworth *const)
 Free a tButterworth from its mempool. More...
 
float tButterworth_tick (tButterworth *const, float input)
 
void tButterworth_setF1 (tButterworth *const, float in)
 
void tButterworth_setF2 (tButterworth *const, float in)
 
void tButterworth_setFreqs (tButterworth *const, float f1, float f2)
 

Detailed Description

Butterworth filter.

Function Documentation

◆ tButterworth_initToPool()

void tButterworth_initToPool ( tButterworth * const  ,
int  N,
float  f1,
float  f2,
tMempool * const   
)

Initialize a tButterworth to a specified mempool.

Parameters
filterA pointer to the tButterworth to initialize.
mempoolA pointer to the tMempool to use.
orderOrder of the filter.
lowCutoffLower cutoff frequency.
upperCutoffUpper cutoff frequency.

◆ tButterworth_free()

void tButterworth_free ( tButterworth * const  )

Free a tButterworth from its mempool.

Parameters
filterA pointer to the tButterworth to free.

◆ tButterworth_tick()

float tButterworth_tick ( tButterworth * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tButterworth.

◆ tButterworth_setF1()

void tButterworth_setF1 ( tButterworth * const  ,
float  in 
)
Parameters
filterA pointer to the relevant tButterworth.

◆ tButterworth_setF2()

void tButterworth_setF2 ( tButterworth * const  ,
float  in 
)
Parameters
filterA pointer to the relevant tButterworth.

◆ tButterworth_setFreqs()

void tButterworth_setFreqs ( tButterworth * const  ,
float  f1,
float  f2 
)
Parameters
filterA pointer to the relevant tButterworth.