maparrayTable Control:Table Queriesmaparraymaparray
Apply a function to every element of a vector.
Description
Apply a function of one argument to every element of a vector (one-dimensional k-rate array).
Syntaxkarray maparray kinarray, Stringkarray maparray_i kinarray, StringInitializationString -- a string that names an opcode
function, at i-rate for maparray_i or k-rate for maparray.
Performancekarray -- array for answers.
kinarray -- array for arguments to the function.
Examples
Here is an example of the maparray opcode. It uses the file maparray.csd.
Example of the maparray 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.00