genarray

genarray — Generate a vector with an arithmetic sequence.

Description

Generate a vector (one-dimensional k-rate or i-rate array) with an arithmetic sequence.

Syntax

karray genarray kstart, kens[, inc]
iarray genarray istart, iens[, inc]

Initialization

istart -- value to place in first element.

iend -- last value to place in array.

inc -- amount to add to previous value (default 1).

Examples

Here is an example of the genarray opcode. It uses the file genarray.csd.

Example 335. Example of the genarray opcode.

See the sections Real-time Audio and Command Line Flags for more information on using command line flags.

<xi:include></xi:include>


See Also

Vectorial opcodes

Credits

Author: John ffitch
Codemist Ltd
2013

New in version 6.00