Functions
t808Cowbell

808 drum machine cowbell. More...

Functions

void t808Cowbell_init (t808Cowbell *const, int useStick, LEAF *const leaf)
 Initialize a t808Cowbell to the default mempool of a LEAF instance. More...
 
void t808Cowbell_initToPool (t808Cowbell *const, int useStick, tMempool *const)
 Initialize a t808Cowbell to a specified mempool. More...
 
void t808Cowbell_free (t808Cowbell *const)
 Free a t808Cowbell from its mempool. More...
 
float t808Cowbell_tick (t808Cowbell *const)
 
void t808Cowbell_on (t808Cowbell *const, float vel)
 
void t808Cowbell_setDecay (t808Cowbell *const, float decay)
 
void t808Cowbell_setHighpassFreq (t808Cowbell *const, float freq)
 
void t808Cowbell_setBandpassFreq (t808Cowbell *const, float freq)
 
void t808Cowbell_setFreq (t808Cowbell *const, float freq)
 
void t808Cowbell_setOscMix (t808Cowbell *const, float oscMix)
 
void t808Cowbell_setStick (t808Cowbell *const, int useStick)
 

Detailed Description

808 drum machine cowbell.

Function Documentation

◆ t808Cowbell_init()

void t808Cowbell_init ( t808Cowbell * const  ,
int  useStick,
LEAF *const  leaf 
)

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

Parameters
cowbellA pointer to the t808Cowbell to initialize.
leafA pointer to the leaf instance.

◆ t808Cowbell_initToPool()

void t808Cowbell_initToPool ( t808Cowbell * const  ,
int  useStick,
tMempool * const   
)

Initialize a t808Cowbell to a specified mempool.

Parameters
cowbellA pointer to the t808Cowbell to initialize.
mempoolA pointer to the tMempool to use.

◆ t808Cowbell_free()

void t808Cowbell_free ( t808Cowbell * const  )

Free a t808Cowbell from its mempool.

Parameters
cowbellA pointer to the t808Cowbell to free.

◆ t808Cowbell_tick()

float t808Cowbell_tick ( t808Cowbell * const  )
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_on()

void t808Cowbell_on ( t808Cowbell * const  ,
float  vel 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_setDecay()

void t808Cowbell_setDecay ( t808Cowbell * const  ,
float  decay 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_setHighpassFreq()

void t808Cowbell_setHighpassFreq ( t808Cowbell * const  ,
float  freq 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_setBandpassFreq()

void t808Cowbell_setBandpassFreq ( t808Cowbell * const  ,
float  freq 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_setFreq()

void t808Cowbell_setFreq ( t808Cowbell * const  ,
float  freq 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_setOscMix()

void t808Cowbell_setOscMix ( t808Cowbell * const  ,
float  oscMix 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.

◆ t808Cowbell_setStick()

void t808Cowbell_setStick ( t808Cowbell * const  ,
int  useStick 
)
Parameters
cowbellA pointer to the relevant t808Cowbell.