scalearrayArray Opcodesscalearrayscalearray
Scales the values in a range of a vector (one dimensional array).
Description
The scalearray opcode scales a subregion of a
vector to a given minimum/maximum.
Syntaxscalearray tarray, kmin, kmax[, kleft, kright]Performancekarray -- array for operation.
kmin, kmax -- target minimum and maximum values.
kleft, kright -- range of table to use,
defaulting to 0 and size of the vector.
Examples
Here is an example of the scalearray opcode. It uses the file scalearray.csd.
Example of the scalearray 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.14Renamed in Csound version 6.00