Csound and CsoundAC API  5.17
Macros | Functions
fgens.h File Reference

Macros

#define GENMAX   60
#define MAXFNUM   100

Functions

int csoundFTAlloc (CSOUND *csound, int tableNum, int len)
 Allocates space for 'tableNum' with a length (not including the guard point) of 'len' samples.
int csoundFTDelete (CSOUND *csound, int tableNum)
 Deletes a function table.
int hfgens (CSOUND *csound, FUNC **ftpp, const EVTBLK *evtblkp, int mode)
 Create ftable using evtblk data, and store pointer to new table in *ftpp.

Macro Definition Documentation

#define GENMAX   60
#define MAXFNUM   100

Function Documentation

int csoundFTAlloc ( CSOUND csound,
int  tableNum,
int  len 
)

Allocates space for 'tableNum' with a length (not including the guard point) of 'len' samples.

The table data is not cleared to zero. Return value is zero on success.

int csoundFTDelete ( CSOUND csound,
int  tableNum 
)

Deletes a function table.

Return value is zero on success.

int hfgens ( CSOUND csound,
FUNC **  ftpp,
const EVTBLK evtblkp,
int  mode 
)

Create ftable using evtblk data, and store pointer to new table in *ftpp.

If mode is zero, a zero table number is ignored, otherwise a new table number is automatically assigned. Returns zero on success.