Functions
t808Snare

808 drum machine snare. More...

Functions

void t808Snare_init (t808Snare *const, LEAF *const leaf)
 Initialize a t808Snare to the default mempool of a LEAF instance. More...
 
void t808Snare_initToPool (t808Snare *const, tMempool *const)
 Initialize a t808Snare to a specified mempool. More...
 
void t808Snare_free (t808Snare *const)
 Free a t808Snare from its mempool. More...
 
float t808Snare_tick (t808Snare *const)
 
void t808Snare_on (t808Snare *const, float vel)
 
void t808Snare_setTone1Freq (t808Snare *const, float freq)
 
void t808Snare_setTone2Freq (t808Snare *const, float freq)
 
void t808Snare_setTone1Decay (t808Snare *const, float decay)
 
void t808Snare_setTone2Decay (t808Snare *const, float decay)
 
void t808Snare_setNoiseDecay (t808Snare *const, float decay)
 
void t808Snare_setToneNoiseMix (t808Snare *const, float toneNoiseMix)
 
void t808Snare_setNoiseFilterFreq (t808Snare *const, float noiseFilterFreq)
 
void t808Snare_setNoiseFilterQ (t808Snare *const, float noiseFilterQ)
 

Detailed Description

808 drum machine snare.

Function Documentation

◆ t808Snare_init()

void t808Snare_init ( t808Snare * const  ,
LEAF *const  leaf 
)

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

Parameters
snareA pointer to the t808Snare to initialize.
leafA pointer to the leaf instance.

◆ t808Snare_initToPool()

void t808Snare_initToPool ( t808Snare * const  ,
tMempool * const   
)

Initialize a t808Snare to a specified mempool.

Parameters
snareA pointer to the t808Snare to initialize.
mempoolA pointer to the tMempool to use.

◆ t808Snare_free()

void t808Snare_free ( t808Snare * const  )

Free a t808Snare from its mempool.

Parameters
snareA pointer to the t808Snare to free.

◆ t808Snare_tick()

float t808Snare_tick ( t808Snare * const  )
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_on()

void t808Snare_on ( t808Snare * const  ,
float  vel 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setTone1Freq()

void t808Snare_setTone1Freq ( t808Snare * const  ,
float  freq 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setTone2Freq()

void t808Snare_setTone2Freq ( t808Snare * const  ,
float  freq 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setTone1Decay()

void t808Snare_setTone1Decay ( t808Snare * const  ,
float  decay 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setTone2Decay()

void t808Snare_setTone2Decay ( t808Snare * const  ,
float  decay 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setNoiseDecay()

void t808Snare_setNoiseDecay ( t808Snare * const  ,
float  decay 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setToneNoiseMix()

void t808Snare_setToneNoiseMix ( t808Snare * const  ,
float  toneNoiseMix 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setNoiseFilterFreq()

void t808Snare_setNoiseFilterFreq ( t808Snare * const  ,
float  noiseFilterFreq 
)
Parameters
snareA pointer to the relevant t808Snare.

◆ t808Snare_setNoiseFilterQ()

void t808Snare_setNoiseFilterQ ( t808Snare * const  ,
float  noiseFilterQ 
)
Parameters
snareA pointer to the relevant t808Snare.