alwayson

alwayson — Activates the indicated instrument in the orchestra header, without need for an i statement. Instruments must be activated in the same order as they are defined.

Description

Activates the indicated instrument in the orchestra header, without need for an i statement. Instruments must be activated in the same order as they are defined.

The alwayson opcode is useful in conjuction with the signal flow graph opcodes. The opcode enables the use of instruments as effects processors that do not have to be turned on in the score, that can receive the outputs of a set or subset of instruments, and that can be chained together.

Syntax

alwayson Tinstrument [p4, ..., pn]

Initialization

Tinstrument -- String name, or number, of the instrument to be activated.

Optional arguments -- Instrument pfields from p4 on may be passed to the instrument.

Performance

The activated instrument will remain "on" for the duration of the performance, receiving signals in any of its inlets and sending signals out through any of its outlets.

[Note] Order is important

The order of definition of instruments is important. A source instrument must be defined in the orchestra before any of the sink instruments to which its outlets are connected.

See Also

outleta outletk outletf inleta inletk inletf alwayson ftgenonce

Credits

By: Michael Gogins 2009