increment {objects} {slot expr}+ [Command]

Maps over {objects} and increments each slot in {slot expr}+ by the value of the corresponding expr. increment is only meaningful for slots containing numerical data.

Example:

For every other object in Foo increment its amplitude by a random amount and its rhythm by .1:
Stella [Top-Level]: increment foo[::2] amplitude (random .3) rhythm .1

See Also:

invert, map, scale, set, transpose unset


Last Modified: 5-Mar-1998