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

    <refpurpose>
      Sets the initial values for a set of MIDI controllers.
      <indexterm id="IndexCtrlinit"><primary>ctrlinit</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Sets the initial values for a set of MIDI controllers.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>ctrlinit</command> ichnl, ictlno1, ival1 [, ictlno2] [, ival2] [, ictlno3] [, ival3] [,...ival32]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ichnl</emphasis> -- MIDI channel number (1-16)
    </para>

    <para>
      <emphasis>ictlno1</emphasis>, <emphasis>ictlno1</emphasis>, etc. -- MIDI controller numbers (0-127)
    </para>

    <para>
      <emphasis>ival1</emphasis>, <emphasis>ival2</emphasis>, etc. -- initial value for corresponding MIDI controller number
    </para>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      Sets the initial values for a set of MIDI controllers.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="massign"><citetitle>massign</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>
