maxarray Array Opcodes maxarray maxarray returns the maximum value in an array. Description The maxarray opcode returns the maximum value in a k-rate array, and optional its index. Syntax kmax [,kindx] maxarray karray Performance kmax -- 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 also Array opcodes Credits Author: &namejohn; October 2011 New in Csound version 5.14 Revised in Csound version 6.00 to work on multidimensional arrays