<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="clear">
  <refmeta>
    <refentrytitle>clear</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>clear</refname>
    <refpurpose>
      Zeroes a list of audio signals.
      <indexterm id="IndexClear"><primary>clear</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      <emphasis>clear</emphasis> zeroes a list of audio signals.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>clear</command> avar1 [, avar2] [, avar3] [...]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>avar1, avar2, avar3,</emphasis> ... -- signals to be zeroed
    </para>

    <para>
      <link linkend="vincr"><citetitle>vincr</citetitle></link> (variable increment) and <emphasis>clear</emphasis> are intended to be used together. <emphasis>vincr</emphasis> stores the result of the sum of two audio variables into the first variable itself (which is intended to be used as an accumulator in polyphony). The accumulator variable can be used for output signal by means of <link linkend="fout"><citetitle>fout</citetitle></link> opcode. After the disk writing operation, the accumulator variable should be set to zero by means of <emphasis>clear</emphasis> opcode (or it will explode).
    </para>
  </refsect1>
 
  <refsect1>
    <title>Examples</title>
    <para>
      See the <link linkend="fout"><citetitle>fout</citetitle></link> opcode for an example.
    </para>
  </refsect1>

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

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