<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="lposcil3">
<refmeta>
<refentrytitle>lposcil3</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>lposcil3</refname>
    <refpurpose>
      Read sampled sound from a table with high precision and cubic interpolation.
      <indexterm id="Indexlposcil3"><primary>lposcil3</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Read sampled sound (mono or stereo) from a table, with optional sustain and release looping, and high precision. <emphasis>lposcil3</emphasis> uses cubic interpolation.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>lposcil3</command> kamp, kfreqratio, kloop, kend, ifn [, iphs]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ifn</emphasis> -- function table number
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kamp</emphasis> -- amplitude
    </para>

    <para>
      <emphasis>kfreqratio</emphasis> -- multiply factor of table frequency (for example: 1 = original frequency, 1.5 = a fifth up , .5 = an octave down)
    </para>

    <para>
      <emphasis>kloop</emphasis> -- loop point (in samples)
    </para>

    <para>
      <emphasis>kend</emphasis> -- end loop point (in samples)
    </para>

    <para>
      <emphasis>lposcil</emphasis> (looping precise oscillator) allows varying at k-rate, the starting and ending point of a sample contained in a table (<link linkend="GEN01"><citetitle>GEN01</citetitle></link>). This can be useful when reading a sampled loop of a wavetable, where repeat speed can be varied during the performance.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="lposcil"><citetitle>lposcil</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namegabriel;</member>
        <member>Italy</member>
      </simplelist>
    </para>

    <para>New in Csound version 3.52</para>
  </refsect1>
</refentry>
