Csound API  6.03
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
FUNC Struct Reference

#include <csoundCore.h>

Data Fields

uint32_t flen
 table length, not including the guard point More...
 
int32 lenmask
 length mask ( = flen - 1) for power of two table size, 0 otherwise More...
 
int32 lobits
 log2(MAXLEN / flen) for power of two table size, 0 otherwise More...
 
int32 lomask
 2^lobits - 1 More...
 
MYFLT lodiv
 1 / 2^lobits More...
 
MYFLT cvtbas
 LOFACT * (table_sr / orch_sr), cpscvt = cvtbas / base_freq. More...
 
MYFLT cpscvt
 
int16 loopmode1
 sustain loop mode (0: none, 1: forward, 2: forward and backward) More...
 
int16 loopmode2
 release loop mode (0: none, 1: forward, 2: forward and backward) More...
 
int32 begin1
 sustain loop start and end in sample frames More...
 
int32 end1
 
int32 begin2
 release loop start and end in sample frames More...
 
int32 end2
 
int32 soundend
 sound file length in sample frames (flenfrms = soundend - 1) More...
 
int32 flenfrms
 
int32 nchanls
 number of channels More...
 
int32 fno
 table number More...
 
GEN01ARGS gen01args
 GEN01 parameters. More...
 
MYFLT * ftable
 table data (flen + 1 MYFLT values) More...
 

Field Documentation

int32 FUNC::begin1

sustain loop start and end in sample frames

int32 FUNC::begin2

release loop start and end in sample frames

MYFLT FUNC::cpscvt
MYFLT FUNC::cvtbas

LOFACT * (table_sr / orch_sr), cpscvt = cvtbas / base_freq.

int32 FUNC::end1
int32 FUNC::end2
uint32_t FUNC::flen

table length, not including the guard point

int32 FUNC::flenfrms
int32 FUNC::fno

table number

MYFLT* FUNC::ftable

table data (flen + 1 MYFLT values)

GEN01ARGS FUNC::gen01args

GEN01 parameters.

int32 FUNC::lenmask

length mask ( = flen - 1) for power of two table size, 0 otherwise

int32 FUNC::lobits

log2(MAXLEN / flen) for power of two table size, 0 otherwise

MYFLT FUNC::lodiv

1 / 2^lobits

int32 FUNC::lomask

2^lobits - 1

int16 FUNC::loopmode1

sustain loop mode (0: none, 1: forward, 2: forward and backward)

int16 FUNC::loopmode2

release loop mode (0: none, 1: forward, 2: forward and backward)

int32 FUNC::nchanls

number of channels

int32 FUNC::soundend

sound file length in sample frames (flenfrms = soundend - 1)