<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="reinit">
  <refmeta>
    <refentrytitle>reinit</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>reinit</refname>
    <refpurpose>
      Suspends a performance while a special initialization pass is executed.
      <indexterm id="IndexReinit"><primary>reinit</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Suspends a performance while a special initialization pass is executed.
    </para>

    <para>
      Whenever this statement is encountered during a p-time pass, performance is temporarily suspended while a special Initialization pass, beginning at <emphasis>label</emphasis> and continuing to <emphasis>rireturn</emphasis> or <emphasis>endin</emphasis>, is executed. Performance will then be resumed from where it left off.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>reinit</command> label</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      The following statements will generate an exponential control signal whose value moves from 440 to 880 exactly ten times over the duration p3. They use the files <ulink url="examples/reinit.orc"><citetitle>reinit.orc</citetitle></ulink> and <ulink url="examples/reinit.sco"><citetitle>reinit.sco</citetitle></ulink>.

      <example>
        <title>Example of the reinit opcode.</title>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/reinit.orc" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/reinit.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="rigoto"><citetitle>rigoto</citetitle></link>, 
      <link linkend="rireturn"><citetitle>rireturn</citetitle></link>
    </para>
  </refsect1>
</refentry>
