<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="rezzy">
  <refmeta>
    <refentrytitle>rezzy</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>rezzy</refname>
    <refpurpose>
      A resonant low-pass filter.
      <indexterm id="IndexRezzy"><primary>rezzy</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      A resonant low-pass filter.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>rezzy</command> asig, xfco, xres [, imode]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>imode</emphasis> (optional, default=0) -- high-pass or low-pass mode. If zero, <emphasis>rezzy</emphasis> is low-pass. If not zero, <emphasis>rezzy</emphasis> is high-pass. Default value is 0. (New in Csound version 3.50)
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>asig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>xfco</emphasis> -- filter cut-off frequency in Hz. As of version 3.50, may i-,k-, or a-rate.
    </para>

    <para>
      <emphasis>xres</emphasis> -- amount of resonance. Values of 1 to 100 are typical. Resonance should be one or greater. As of version 3.50, may a-rate, i-rate, or k-rate.
    </para>

    <para>
      <emphasis>rezzy</emphasis> is a resonant low-pass filter created empirically by &namehans;.
    </para>
  </refsect1>

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

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

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

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

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="biquad"><citetitle>biquad</citetitle></link>,
      <link linkend="moogvcf"><citetitle>moogvcf</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namehans;</member>
        <member>October 1998</member>
      </simplelist>
    </para>
    <para>Example written by &namekevin;.</para>

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