ptable3Signal Generators:Table Accessptable3ptable3
Accesses table values by direct indexing with cubic interpolation.
Description
Accesses table values by direct indexing with cubic interpolation.
Syntaxares ptable3 andx, ifn [, ixmode] [, ixoff] [, iwrap]ires ptable3 indx, ifn [, ixmode] [, ixoff] [, iwrap]kres ptable3 kndx, ifn [, ixmode] [, ixoff] [, iwrap]Initializationifn -- function table number.
ixmode (optional) -- index data mode. The default value is 0.
0 = raw index1 = normalized (0 to 1)ixoff (optional) -- amount by which index is to be offset. For a table with origin at center, use tablesize/2 (raw) or .5 (normalized). The default value is 0.
iwrap (optional) -- wraparound index flag. The default value is 0.
0 = nowrap (index < 0 treated as index=0; index > tablesize sticks at index=size)1 = wraparound.Performanceptable3 is identical to table3, except
that it uses does not require the table to have a power of two size.
See Alsotable,
tablei,
table3,
ptable,
ptablei,
oscil1,
oscil1i,
oscilnCreditsAuthor: &namejohn;Jan 2012New in Csound version 5.16