Functions
tVZFilter

Vadim Zavalishin style from VA book (from implementation in RSlib posted to kvr forum) More...

Functions

void tVZFilter_init (tVZFilter *const, VZFilterType type, float freq, float Q, LEAF *const leaf)
 Initialize a tVZFilter to the default mempool of a LEAF instance. More...
 
void tVZFilter_initToPool (tVZFilter *const, VZFilterType type, float freq, float Q, tMempool *const)
 Initialize a tVZFilter to a specified mempool. More...
 
void tVZFilter_free (tVZFilter *const)
 Free a tVZFilter from its mempool. More...
 
void tVZFilter_setSampleRate (tVZFilter *const, float sampleRate)
 
float tVZFilter_tick (tVZFilter *const, float input)
 
float tVZFilter_tickEfficient (tVZFilter *const vf, float in)
 
void tVZFilter_calcCoeffs (tVZFilter *const)
 
void tVZFilter_setBandwidth (tVZFilter *const, float bandWidth)
 
void tVZFilter_setFreq (tVZFilter *const, float freq)
 
void tVZFilter_setFreqAndBandwidth (tVZFilter *const vf, float freq, float bw)
 
void tVZFilter_setGain (tVZFilter *const, float gain)
 
void tVZFilter_setType (tVZFilter *const, VZFilterType type)
 
float tVZFilter_BandwidthToR (tVZFilter *const vf, float B)
 

Detailed Description

Vadim Zavalishin style from VA book (from implementation in RSlib posted to kvr forum)

Function Documentation

◆ tVZFilter_init()

void tVZFilter_init ( tVZFilter * const  ,
VZFilterType  type,
float  freq,
float  Q,
LEAF *const  leaf 
)

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

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

◆ tVZFilter_initToPool()

void tVZFilter_initToPool ( tVZFilter * const  ,
VZFilterType  type,
float  freq,
float  Q,
tMempool * const   
)

Initialize a tVZFilter to a specified mempool.

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

◆ tVZFilter_free()

void tVZFilter_free ( tVZFilter * const  )

Free a tVZFilter from its mempool.

Parameters
filterA pointer to the tVZFilter to free.

◆ tVZFilter_setSampleRate()

void tVZFilter_setSampleRate ( tVZFilter * const  ,
float  sampleRate 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_tick()

float tVZFilter_tick ( tVZFilter * const  ,
float  input 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_tickEfficient()

float tVZFilter_tickEfficient ( tVZFilter *const  vf,
float  in 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_calcCoeffs()

void tVZFilter_calcCoeffs ( tVZFilter * const  )
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_setBandwidth()

void tVZFilter_setBandwidth ( tVZFilter * const  ,
float  bandWidth 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_setFreq()

void tVZFilter_setFreq ( tVZFilter * const  ,
float  freq 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_setFreqAndBandwidth()

void tVZFilter_setFreqAndBandwidth ( tVZFilter *const  vf,
float  freq,
float  bw 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_setGain()

void tVZFilter_setGain ( tVZFilter * const  ,
float  gain 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_setType()

void tVZFilter_setType ( tVZFilter * const  ,
VZFilterType  type 
)
Parameters
filterA pointer to the relevant tVZFilter.

◆ tVZFilter_BandwidthToR()

float tVZFilter_BandwidthToR ( tVZFilter *const  vf,
float  B 
)
Parameters
filterA pointer to the relevant tVZFilter.