Skip to content

tabi

Fast table opcodes.

📝 Note

Up to Csound 6, this opcode was called tab_i.

Faster than table because it does not allow wrap-around and limit. Has been implemented in order to provide fast access to arrays.

Syntax

ir = tabi(indx, ifn[, ixmode])
ir tab_i indx, ifn[, ixmode]

Initialization

ifn -- table number

ixmode -- defaults to zero. If zero indx range matches the length of the table; if non zero indx has a 0 to 1 range.

indx -- table index

Performance

indx -- table index.

tabi opcode is similar to table but is faster, and uses rounding of the index.

See Also

Table Access

Credits

Written by Gabriel Maldonado.