|
Csound and CsoundAC API 5.14
|
#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) | |
sustain loop start and end in sample frames
release loop start and end in sample frames
| MYFLT FUNC::cpscvt |
| MYFLT FUNC::cvtbas |
LOFACT * (table_sr / orch_sr), cpscvt = cvtbas / base_freq.
table length, not including the guard point
| MYFLT FUNC::ftable[1] |
table data (flen + 1 MYFLT values)
GEN01 parameters.
length mask ( = flen - 1) for power of two table size, 0 otherwise
log2(MAXLEN / flen) for power of two table size, 0 otherwise
| MYFLT FUNC::lodiv |
1 / 2^lobits
2^lobits - 1
sustain loop mode (0: none, 1: forward, 2: forward and backward)
release loop mode (0: none, 1: forward, 2: forward and backward)
number of channels
sound file length in sample frames (flenfrms = soundend - 1)
1.7.4