Functions

Component of period detection algorithm from Katja Vetters http://www.katjaas.nl/helmholtz/helmholtz.html. More...

Functions

void tSNAC_init (tSNAC *const, int overlaparg, LEAF *const leaf)
 Initialize a tSNAC to the default mempool of a LEAF instance. More...
 
void tSNAC_initToPool (tSNAC *const, int overlaparg, tMempool *const)
 Initialize a tSNAC to a specified mempool. More...
 
void tSNAC_free (tSNAC *const)
 Free a tSNAC from its mempool. More...
 
void tSNAC_setOverlap (tSNAC *s, int lap)
 
void tSNAC_setBias (tSNAC *s, float bias)
 
void tSNAC_setMinRMS (tSNAC *s, float rms)
 
float tSNAC_getPeriod (tSNAC *s)
 
float tSNAC_getFidelity (tSNAC *s)
 

Detailed Description

Component of period detection algorithm from Katja Vetters http://www.katjaas.nl/helmholtz/helmholtz.html.

Function Documentation

◆ tSNAC_init()

void tSNAC_init ( tSNAC * const  ,
int  overlaparg,
LEAF *const  leaf 
)

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

Parameters
snacA pointer to the tSNAC to initialize.
overlap
leafA pointer to the leaf instance.

◆ tSNAC_initToPool()

void tSNAC_initToPool ( tSNAC * const  ,
int  overlaparg,
tMempool * const   
)

Initialize a tSNAC to a specified mempool.

Parameters
snacA pointer to the tSNAC to initialize.
overlap
mempoolA pointer to the tMempool to use.

◆ tSNAC_free()

void tSNAC_free ( tSNAC * const  )

Free a tSNAC from its mempool.

Parameters
snacA pointer to the tSNAC to free.

◆ tSNAC_setOverlap()

void tSNAC_setOverlap ( tSNAC *  s,
int  lap 
)
Parameters
snacA pointer to the relevant tSNAC.
overlap

◆ tSNAC_setBias()

void tSNAC_setBias ( tSNAC *  s,
float  bias 
)
Parameters
snacA pointer to the relevant tSNAC.
bias

◆ tSNAC_setMinRMS()

void tSNAC_setMinRMS ( tSNAC *  s,
float  rms 
)
Parameters
snacA pointer to the relevant tSNAC.
rms

◆ tSNAC_getPeriod()

float tSNAC_getPeriod ( tSNAC *  s)
Parameters
snacA pointer to the relevant tSNAC.
Returns
The detected period of the input

◆ tSNAC_getFidelity()

float tSNAC_getFidelity ( tSNAC *  s)
Parameters
snacA pointer to the relevant tSNAC.
Returns
The periodic fidelity of the input