Functions
tMedianFilter

Median filter. More...

Functions

void tMedianFilter_init (tMedianFilter *const, int size, LEAF *const leaf)
 Initialize a tMedianFilter to the default mempool of a LEAF instance. More...
 
void tMedianFilter_initToPool (tMedianFilter *const, int size, tMempool *const)
 Initialize a tMedianFilter to a specified mempool. More...
 
void tMedianFilter_free (tMedianFilter *const)
 Free a tMedianFilter from its mempool. More...
 
float tMedianFilter_tick (tMedianFilter *const, float input)
 

Detailed Description

Median filter.

Function Documentation

◆ tMedianFilter_init()

void tMedianFilter_init ( tMedianFilter *const  f,
int  size,
LEAF *const  leaf 
)

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

Parameters
filterA pointer to the tMedianFilter to initialize.
leafA pointer to the leaf instance.f

Median filter implemented based on James McCartney's median filter in Supercollider, translated from a Gen~ port of the Supercollider code that I believe was made by Rodrigo Costanzo and which I got from PA Tremblay - JS

◆ tMedianFilter_initToPool()

void tMedianFilter_initToPool ( tMedianFilter * const  ,
int  size,
tMempool * const   
)

Initialize a tMedianFilter to a specified mempool.

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

◆ tMedianFilter_free()

void tMedianFilter_free ( tMedianFilter * const  )

Free a tMedianFilter from its mempool.

Parameters
filterA pointer to the tMedianFilter to free.

◆ tMedianFilter_tick()

float tMedianFilter_tick ( tMedianFilter * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tMedianFilter.