vtable1kVectorial:Tablesvtable1kvtable1k
Read a vector (several scalars simultaneously) from a table.
Description
This opcode reads vectors from tables at k-rate.
Syntaxvtable1k kfn,kout1 [, kout2, kout3, .... , koutN ]Performancekfn - table number
kout1...koutN - output vector elements
vtable1k is a reduced version of vtablek, it only allows to access the first vector (it is equivalent to vtablek with kndx = zero, but a bit faster). It is useful to easily and quickly convert a set of values stored in a table into a set of k-rate variables to be used in normal opocodes, instead of using individual table opcodes for each value.
vtable1k is an unusual opcode as it produces its output on the right side arguments of the opcode.
Examples
Here is an example of the vtable1k opcode. It uses the files vtable1k.csd.
Example of the vtable1k opcode.See alsoTables of vectors operatorsCreditsWritten by Gabriel Maldonado.New in Csound 5.06