concept scale in category chuck
appears as: scale, scale, scales, scales

This is an excerpt from Manning's book Programming for Musicians and Digital Artists: Creating music with ChucK.
You’ll now learn how you can use arrays with functions. Just as you passed UGens as arguments to functions, arrays are valid arguments as well. For example, you can define a function called arrayAdder that modifies one member (index) of an array (temp), to have a new value (add one to it). You’ll use this shortly to change the pitches of a note array called scale.