fillarrayTable Control:Table Queriesfillarrayfillarray
Generate a vector with initial values.
Description
Generate a vector (one-dimensional k-rate array) with a sequence
of numeric or string values.
Syntaxkarray[] fillarray ival1, ival2,.....ivalnkarray fillarray ival1, ival2,.....ivalnkarray fillarray kval1, kval2,.....kvalnInitializationival1,...ivaln -- values to place in the vector.
In the second form the answer array must be pre-declared, and it
may be a multidimensional array which if filled in row-major
order.
Performance
In the third form the vector is regenerated at k-rate with values
kval1,..., kvaln.
Examples
Here is an example of the fillarray opcode. It uses the file fillarray.csd.
Example of the fillarray opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoArray opcodesCreditsAuthor: &namejohn;Codemist Ltd2013New in version 6.00Third, k-rate, form new in 6.12