<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="expon">
  <refmeta>
    <refentrytitle>expon</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>expon</refname>
    <refpurpose>
      Trace an exponential curve between specified points.
      <indexterm id="IndexExpon"><primary>expon</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Trace an exponential curve between specified points.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>expon</command> ia, idur1, ib</synopsis>

    <synopsis>kr <command>expon</command> ia, idur1, ib</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ia</emphasis> -- starting value. Zero is illegal for exponentials.
    </para>

    <para>
      <emphasis>ib, ic</emphasis>, etc. -- value after <emphasis>dur1</emphasis> seconds, etc. For exponentials, must be non-zero and must agree in sign with <emphasis>ia</emphasis>.
    </para>

    <para>
      <emphasis>idur1</emphasis> -- duration in seconds of first segment. A zero or negative value will cause all initialization to be skipped.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      These units generate control or audio signals whose values can pass through 2 or more specified points. The sum of <emphasis>dur</emphasis> values may or may not equal the instrument's performance time: a shorter performance will truncate the specified pattern, while a longer one will cause the last-defined segment to continue on in the same direction.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the expon opcode. It uses the files <ulink url="examples/expon.orc"><citetitle>expon.orc</citetitle></ulink> and <ulink url="examples/expon.sco"><citetitle>expon.sco</citetitle></ulink>.

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

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

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

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="expseg"><citetitle>expseg</citetitle></link>,
      <link linkend="expsegr"><citetitle>expsegr</citetitle></link>,
      <link linkend="line"><citetitle>line</citetitle></link>,
      <link linkend="linseg"><citetitle>linseg</citetitle></link>,
      <link linkend="linsegr"><citetitle>linsegr</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
