sumarray Array Opcodes sumarray sumarray returns the sum of the elements in an array. Description The sumarray opcode returns the sum of all elements in a k-rate array array. Syntax ksum sumarray karray Performance ksum -- variable for result. karray -- array for reading. Examples Here is an example of the sumarray opcode. It uses the file sumarray.csd. Example of the sumarray 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