<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="lposcil">
<refmeta>
<refentrytitle>lposcil</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>lposcil</refname>
    <refname>lposcil3</refname>
    <refpurpose>
      Read sampled sound from a table with optional looping and high precision.
      <indexterm id="Indexlposcil"><primary>lposcil</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.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>lposcil</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="lposcil3"><citetitle>lposcil3</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>
