massign
Prev | Orchestra Opcodes and Operators | Next

## massign

massign — Assigns a MIDI channel number to a Csound instrument.

## Description

Assigns a MIDI channel number to a Csound instrument.

## Syntax

    massign ichnl, insnum[, ireset]

    massign ichnl, "insname"[, ireset]

## Initialization

ichnl -- MIDI channel number (1-16).

insnum -- Csound orchestra instrument number. If zero or negative, the channel is muted.

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

ireset -- If non-zero resets the controllers; default is to reset.

## Performance

Assigns a MIDI channel number to a Csound instrument.

## See Also

ctrlinit

## Credits

Author: Barry L. Vercoe - Mike Berry
MIT, Cambridge, Mass.

New in Csound version 3.47

ireset parameter new in Csound5

Thanks goes to Rasmus Ekman for pointing out the correct MIDI channel and controller number ranges.

Prev | Up | Next
marimba | Home | max