maxarrayArray Opcodesmaxarraymaxarray
returns the maximum value in an array.
Description
The maxarray opcode returns the maximum value
in a k-rate array, and optional its index.
Syntaxkmax [,kindx] maxarray karrayPerformancekmax -- variable for result.
kindx -- position (index) of result in array.
karray -- array for reading.
Examples
Here is an example of the maxarray opcode. It uses the file maxarray.csd.
Example of the maxarray opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoArray opcodesCreditsAuthor: &namejohn;October 2011New in Csound version 5.14Revised in Csound version 6.00 to work on multidimensional arrays