<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="cauchy">
  <refmeta>
    <refentrytitle>cauchy</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>cauchy</refname>
    <refpurpose>
      Cauchy distribution random number generator. 
      <indexterm id="IndexCauchy"><primary>cauchy</primary></indexterm>
      <indexterm id="IndexCauchyXClass"><primary>x-class noise generators</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Cauchy distribution random number generator. This is an x-class noise generator.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>cauchy</command> kalpha</synopsis>

    <synopsis>ir <command>cauchy</command> kalpha</synopsis>

    <synopsis>kr <command>cauchy</command> kalpha</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kalpha</emphasis> -- controls the spread from zero (big <emphasis>kalpha</emphasis> = big spread). Outputs both positive and negative numbers.
    </para>

    <para>
      For more detailed explanation of these distributions, see:
      <orderedlist>
        <listitem>
          <para>C. Dodge - T.A. Jerse 1985. Computer music. Schirmer books. pp.265 - 286</para>
        </listitem>

        <listitem>
          <para>D. Lorrain. A panoply of stochastic cannons. In C. Roads, ed. 1989. Music machine . Cambridge, Massachusetts: MIT press, pp. 351 - 379.</para>
        </listitem>
      </orderedlist>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the cauchy opcode. It uses the files <ulink url="examples/cauchy.orc"><citetitle>cauchy.orc</citetitle></ulink> and <ulink url="examples/cauchy.sco"><citetitle>cauchy.sco</citetitle></ulink>.

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

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

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

      Its output should include lines like:
      <screen>
instr 1:  i1 = -0.106
      </screen>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="betarand"><citetitle>betarand</citetitle></link>,
      <link linkend="bexprnd"><citetitle>bexprnd</citetitle></link>,
      <link linkend="exprand"><citetitle>exprand</citetitle></link>,
      <link linkend="gauss"><citetitle>gauss</citetitle></link>,
      <link linkend="linrand"><citetitle>linrand</citetitle></link>,
      <link linkend="pcauchy"><citetitle>pcauchy</citetitle></link>,
      <link linkend="poisson"><citetitle>poisson</citetitle></link>,
      <link linkend="trirand"><citetitle>trirand</citetitle></link>,
      <link linkend="unirand"><citetitle>unirand</citetitle></link>,
      <link linkend="weibull"><citetitle>weibull</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &nameparis;</member>
        <member>MIT, Cambridge</member>
        <member>1995</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
