pset
Prev | Orchestra Opcodes and Operators | Next

## pset

pset — Defines and initializes numeric arrays at orchestra load time.

## Description

Defines and initializes numeric arrays at orchestra load time.

## Syntax

    pset icon1 [, icon2] [...]

## Initialization

icon1, icon2, ... -- preset values for a MIDI instrument

pset (optional) defines and initializes numeric arrays at orchestra load time. It may be used as an orchestra header statement (i.e. instrument 0) or within an instrument. When defined within an instrument, it is not part of its i-time or performance operation, and only one statement is allowed per instrument. These values are available as i-time defaults. When an instrument is triggered from MIDI it only gets p1 and p2 from the event, and p3, p4, etc. will receive the actual preset values.

## Examples

The example below illustrates pset as used within an instrument.

    instr 1
      pset 0,0,3,4,5,6  ; pfield substitutes
      a1 oscil 10000, 440, p6

## See Also

strset

Prev | Up | Next
product | Home | puts