<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="zarg">
  <refmeta>
    <refentrytitle>zarg</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>zarg</refname>
    <refpurpose>
      Reads from a location in za space at a-rate, adds some gain.
      <indexterm id="IndexZarg"><primary>zarg</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Reads from a location in za space at a-rate, adds some gain.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>zarg</command> kndx, kgain</synopsis>
  </refsect1>

  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>kndx</emphasis> -- points to the za location to be read.
    </para>

    <para>
      <emphasis>kgain</emphasis> -- multiplier for the a-rate signal.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>zarg</emphasis> reads the array of floats at <emphasis>kndx</emphasis> in za space, which are ksmps number of a-rate floats to be processed in a k cycle. <emphasis>zarg</emphasis> also multiplies the a-rate signal by a k-rate value <emphasis>kgain</emphasis>.
    </para>
  </refsect1>

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

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

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

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/zarg.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>
    </para>
  </refsect1>
 
  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="zar"><citetitle>zar</citetitle></link>,
      <link linkend="zir"><citetitle>zir</citetitle></link>,
      <link linkend="zkr"><citetitle>zkr</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: Robin Whittle</member>
        <member>Australia</member>
        <member>May 1997</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>
  </refsect1>
</refentry>
