Csound and CsoundAC API  5.17
Data Fields
FUNC Struct Reference

#include <csoundCore.h>

Data Fields

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

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
int32 FUNC::flen

table length, not including the guard point

int32 FUNC::flenfrms
int32 FUNC::fno

table number

MYFLT FUNC::ftable[1]

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)