<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="mirror">
  <refmeta>
    <refentrytitle>mirror</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>mirror</refname>
    <refpurpose>
      Reflects the signal that exceeds the low and high thresholds.
      <indexterm id="IndexMirror"><primary>mirror</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      Reflects the signal that exceeds the low and high thresholds.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>mirror</command> asig, klow, khigh</synopsis>

    <synopsis>ir <command>mirror</command> isig, ilow, ihigh</synopsis>

    <synopsis>kr <command>mirror</command> ksig, klow, khigh</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>isig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>ilow</emphasis> -- low threshold
    </para>

    <para>
      <emphasis>ihigh</emphasis> -- high threshold
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>xsig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>klow</emphasis> -- low threshold
    </para>

    <para>
      <emphasis>khigh</emphasis> -- high threshold
    </para>

    <para>
      <emphasis>mirror</emphasis> <quote>reflects</quote> the signal that exceeds the low and high thresholds.
    </para>

    <para>
      This opcode is useful in several situations, such as table indexing or for clipping and modeling a-rate, i-rate or k-rate signals.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="limit"><citetitle>limit</citetitle></link>,
      <link linkend="wrap"><citetitle>wrap</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.49</para>
  </refsect1>
</refentry>
