<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="massign">
  <refmeta>
    <refentrytitle>massign</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>massign</refname>

    <refpurpose>
      Assigns a MIDI channel number to a Csound instrument.
      <indexterm id="IndexMassign"><primary>massign</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Assigns a MIDI channel number to a Csound instrument.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>massign</command> ichnl, insnum</synopsis>
    <synopsis><command>massign</command> ichnl, &quot;insname&quot;</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ichnl</emphasis> -- MIDI channel number (1-16)
    </para>

    <para>
      <emphasis>insnum</emphasis> -- Csound orchestra instrument number
    </para>

    <para>
      <emphasis><quote>insname</quote></emphasis> -- A string (in double-quotes) representing a named instrument.
    </para>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      Assigns a MIDI channel number to a Csound instrument.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="ctrlinit"><citetitle>ctrlinit</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>  
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namebarry; - &namemike;</member>
        <member>MIT, Cambridge, Mass.</member>
      </simplelist>
    </para>

    <para>New in Csound version 3.47</para>
    <para>Thanks goes to &namerasmus; for pointing out the correct MIDI channel and controller number ranges.</para>
  </refsect1>
</refentry>
