<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="osciln">
  <refmeta>
    <refentrytitle>osciln</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>osciln</refname>
    <refpurpose>
      Accesses table values at a user-defined frequency.
      <indexterm id="IndexOsciln"><primary>osciln</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Accesses table values at a user-defined frequency. This opcode can also be written as <link linkend="oscilx"><citetitle>oscilx</citetitle></link>.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>osciln</command> kamp, ifrq, ifn, itimes</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ifrq, itimes</emphasis> -- rate and number of times through the stored table.
    </para>

    <para>
      <emphasis>ifn</emphasis> -- function table number. 
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kamp</emphasis> -- amplitude factor
    </para>

    <para>
      <emphasis>osciln</emphasis> will sample several times through the stored table at a rate of <emphasis>ifrq</emphasis> times per second, after which it will output zeros. Generates audio signals only, with output values scaled by <emphasis>kamp.</emphasis>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="table"><citetitle>table</citetitle></link>,
      <link linkend="tablei"><citetitle>tablei</citetitle></link>,
      <link linkend="table3"><citetitle>table3</citetitle></link>,
      <link linkend="oscil1"><citetitle>oscil1</citetitle></link>,
      <link linkend="oscil1i"><citetitle>oscil1i</citetitle></link>
    </para>
  </refsect1>
</refentry>
