subinstrinit — Creates and runs a numbered instrument instance at init-time.


Same as subinstr, but init-time only and has no output arguments.


subinstrinit instrnum [, p4] [, p5] [...]
subinstrinit "insname" [, p4] [, p5] [...]


instrnum -- Number of the instrument to be called.

insname -- A string (in double-quotes) representing a named instrument.

For more information about specifying input and output interfaces, see Calling an Instrument within an Instrument.


p4, p5, ... -- Additional input values the are mapped to the called instrument p-fields, starting with p4.

The called instrument's p2 and p3 values will be identical to the host instrument's values. While the host instrument can control its own duration, any such attempts inside the called instrument will most likely have no effect.

See Also

Calling an Instrument within an Instrument, event, schedule, subinstr


New in version 4.23