Initialization and Reinitialization
Prev | Instrument Control | Next

## Initialization and Reinitialization

Opcodes used for the initialization of variables:

- init

- tival

- =

- passign

- pset

The opcodes that can generate another initialization pass are:

- reinit

- rigoto

- rireturn

The opcode p can be used to find score p-fields at i- or k-rate.

nstrnum returns the instrument number for a named instrument.

| Note

Note that a instrument may modify the p3 (duration) parameter at initialisation time. For example statements like

    iattack = 0.02
    irelease = 0.04
    isustain = p3
    p3 = iattack + isustain + irelease

are valid.

Prev | Up | Next
Real-time Performance Control | Home | Sensing and Control