slicearrayTable Control:Table Queriesslicearrayslicearray
Take a slice of a vector.
Description
Take a slice of a vector (one-dimensional k-rate array).
Syntaxkarray slicearray kinarray, istart, iend [,istride]Initializationistart -- index of the first part of the answer.
iend -- index of the last element of the answer.
istride -- increment for source elements (optional), defaults to 1.
Examples
Here is an example of the slicearray opcode. It uses the file slicearray.csd.
Example of the slicearray 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.00istride argument new in 6.10