massign — Assigns a MIDI channel number to a Csound instrument.
ichnl -- MIDI channel number (1-16).
insnum -- Csound orchestra instrument number. If zero or negative, the channel is muted (i.e. it doesn't trigger a csound instrument, though information will still be received by opcodes like midiin).
“insname” -- A string (in double-quotes) representing a named instrument.
ireset -- If non-zero resets the controllers; default is to reset.
Assigns a MIDI channel number to a Csound instrument. Also useful to make sure a certain instrument (if its number is from 1 to 16) will not be triggered by midi noteon messages (if using something midiin to interpret midi information). In this case set insnum to 0 or a negative number.