<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="scantable">
  <refmeta>
    <refentrytitle>scantable</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>scantable</refname>
    <refpurpose>
      A simpler scanned synthesis implementation.
      <indexterm id="IndexScantable"><primary>scantable</primary></indexterm>
    </refpurpose>
  </refnamediv>
  
  <refsect1>
    <title>Description</title>
    <para>
      A simpler scanned synthesis implementation. This is an implementation of a circular string scanned using external tables. This opcode will allow direct modification and reading of values with the table opcodes.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis>aout <command>scantable</command> kamp, kpch, ipos, imass, istiff, idamp, ivel</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ipos</emphasis> -- table containing position array.
    </para>

    <para>
      <emphasis>imass</emphasis> -- table containing the mass of the string.
    </para>

    <para>
      <emphasis>istiff</emphasis> -- table containing the stiffness of the string.
    </para>

    <para>
      <emphasis>idamp</emphasis> -- table containing the damping factors of the string.
    </para>

    <para>
      <emphasis>ivel</emphasis> -- table containing the velocities.
    </para>
  </refsect1>

  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>kamp</emphasis> -- amplitude (gain) of the string.
    </para>

    <para>
      <emphasis>kpch</emphasis> -- the string's scanned frequency.
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the scantable opcode. It uses the files <ulink url="examples/scantable.orc"><citetitle>scantable.orc</citetitle></ulink> and <ulink url="examples/scantable.sco"><citetitle>scantable.sco</citetitle></ulink>.

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

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

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

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="scanhammer"><citetitle>scanhammer</citetitle></link>
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: Matt Gilliard</member>
        <member>April 2002</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>

    <para>New in version 4.20</para>
  </refsect1>
</refentry>
