<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="biquada">
  <refmeta>
    <refentrytitle>biquada</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>biquada</refname>
    <refpurpose>
      A sweepable general purpose biquadratic digital filter with a-rate parameters.
      <indexterm id="IndexBiquada"><primary>biquada</primary></indexterm>
    </refpurpose>
  </refnamediv>
 
  <refsect1>
    <title>Description</title>
    <para>
      A sweepable general purpose biquadratic digital filter.
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis>ar <command>biquada</command> asig, ab0, ab1, ab2, aa0, aa1, aa2 [, iskip]</synopsis>
  </refsect1>
 
  <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>iskip</emphasis> (optional, default=0) -- if non-zero, intialization will be skipped. Default value 0. (New in Csound version 3.50)
    </para>
  </refsect1>
 
  <refsect1>
    <title>Performance</title>
    <para>
      <emphasis>asig</emphasis> -- input signal
    </para>

    <para>
      <emphasis>biquada</emphasis> is a general purpose biquadratic digital filter of the form:
      <literallayout>
  a0*y(n) + a1*y[n-1] + a2*y[n-2] = b0*x[n] + b1*x[n-1] + b2*x[n-2]
      </literallayout>
    </para>

    <para>
      This filter has the following frequency response:
      <literallayout>
         B(Z)   b0 + b1*Z<superscript>-1</superscript>  + b2*Z<superscript>-2</superscript>
  H(Z) = ---- = ------------------
         A(Z)   a0 + a1*Z<superscript>-1</superscript>  + a2*Z<superscript>-2</superscript>
      </literallayout>
    </para>

    <para>
      This type of filter is often encountered in digital signal processing literature. It allows six user-defined a-rate coefficients.
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="biquad"><citetitle>biquad</citetitle></link>
    </para>
  </refsect1>
 
  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namehans;</member>
        <member>October 1998</member>
      </simplelist>
    </para>

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