Skip to content

Initialization and Reinitialization

Opcodes used for the initialization of variables:

The opcodes that can generate another initialization pass are:

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 an 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.