tabwSignal Generators:Table Accesstabwtabw
Fast table opcodes.
Description
Fast table opcodes. Faster than
tablew because it does not
allow wrap-around and limit. Has
been implemented in order to provide fast access to
arrays.
Syntaxtabw ksig, kndx, ifn [,ixmode]tabw asig, andx, ifn [,ixmode]Initializationifn -- table number
ixmode -- defaults to zero. If zero
xndx range matches the length of the table;
if non zero xndx has a 0 to 1 range.
Performanceandx, kndx -- table index.
tabw opcode is similar to tablew
but are faster, and use rounding of the index.
Special care of index value must be taken into account. Index
values out of the table allocated space will crash Csound.
Examples
Here is an example of the tabw opcode. It uses the file tabw.csd.
Example of the tabw opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoTable AccessCreditsWritten by &namegabriel;.