<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="lowresx">
  <refmeta>
    <refentrytitle>lowresx</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>lowresx</refname>
    <refpurpose>
      Simulates layers of serially connected resonant lowpass filters.
      <indexterm id="IndexLowresx"><primary>lowresx</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      <emphasis>lowresx</emphasis> is equivalent to more layers of <link linkend="lowres"><citetitle>lowres</citetitle></link> with the same arguments serially connected.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>lowresx</command> asig, kcutoff, kresonance [, inumlayer] [, iskip]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>inumlayer</emphasis> -- number of elements in a <emphasis>lowresx</emphasis> stack. Default value is 4. There is no maximum.
    </para>

    <para>
      <emphasis>iskip</emphasis> -- initial disposition of internal data space. A zero value will clear the space; a non-zero value will allow previous information to remain. The default value is 0.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>asig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>kcutoff</emphasis> -- filter cutoff frequency point
    </para>

    <para>
      <emphasis>kresonance</emphasis> -- resonance amount
    </para>

    <para>
      <emphasis>lowresx</emphasis> is equivalent to more layer of <link linkend="lowres"><citetitle>lowres</citetitle></link> with the same arguments serially connected. Using a stack of a larger number of filters allows a sharper cutoff. This is faster than using a larger number of instances of <emphasis>lowres</emphasis> in a Csound orchestra because only one initialization and k cycle are needed at time and the audio loop falls entirely inside the cache memory of processor. Based on an orchestra by &namehans;
    </para>
  </refsect1>

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

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

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

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

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="lowres"><citetitle>lowres</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namegabriel; (adapted by &namejohn;)</member>
        <member>Italy</member>
      </simplelist>
    </para>

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