<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>biquada</title> <link rel="stylesheet" type="text/css" href="csound.css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1" /> <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" /> <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" /> <link rel="prev" href="biquad.html" title="biquad" /> <link rel="next" href="birnd.html" title="birnd" /> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center">biquada</th> </tr> <tr> <td width="20%" align="left"><a accesskey="p" href="biquad.html">Prev</a> </td> <th width="60%" align="center">Orchestra Opcodes and Operators</th> <td width="20%" align="right"> <a accesskey="n" href="birnd.html">Next</a></td> </tr> </table> <hr /> </div> <div class="refentry" title="biquada"> <a id="biquada"></a> <div class="titlepage"></div> <a id="IndexBiquada" class="indexterm"></a> <div class="refnamediv"> <h2> <span class="refentrytitle">biquada</span> </h2> <p>biquada — A sweepable general purpose biquadratic digital filter with a-rate parameters. </p> </div> <div class="refsect1" title="Description"> <a id="idp14841200"></a> <h2>Description</h2> <p> A sweepable general purpose biquadratic digital filter. </p> </div> <div class="refsect1" title="Syntax"> <a id="idp14841864"></a> <h2>Syntax</h2> <pre class="synopsis">ares <span class="command"><strong>biquada</strong></span> asig, ab0, ab1, ab2, aa0, aa1, aa2 [, iskip]</pre> </div> <div class="refsect1" title="Initialization"> <a id="idp14844448"></a> <h2>Initialization</h2> <p> <span class="emphasis"><em>iskip</em></span> (optional, default=0) -- if non-zero, intialization will be skipped. Default value 0. (New in Csound version 3.50) </p> </div> <div class="refsect1" title="Performance"> <a id="idp14845384"></a> <h2>Performance</h2> <p> <span class="emphasis"><em>asig</em></span> -- input signal </p> <p> <span class="emphasis"><em>biquada</em></span> is a general purpose biquadratic digital filter of the form: </p> <div class="literallayout"> <p><br /> a0*y(n) + a1*y[n-1] + a2*y[n-2] = b0*x[n] + b1*x[n-1] + b2*x[n-2]<br /> </p> </div> <p> </p> <p> This filter has the following frequency response: </p> <div class="literallayout"> <p><br /> B(Z) b0 + b1*Z<sup>-1</sup> + b2*Z<sup>-2</sup><br /> H(Z) = ---- = ------------------<br /> A(Z) a0 + a1*Z<sup>-1</sup> + a2*Z<sup>-2</sup><br /> </p> </div> <p> </p> <p> This type of filter is often encountered in digital signal processing literature. It allows six user-defined a-rate coefficients. </p> </div> <div class="refsect1" title="See Also"> <a id="idp14891504"></a> <h2>See Also</h2> <p> <a class="link" href="biquad.html" title="biquad"><em class="citetitle">biquad</em></a> </p> </div> <div class="refsect1" title="Credits"> <a id="idp14892560"></a> <h2>Credits</h2> <p> </p> <table border="0" summary="Simple list" class="simplelist"> <tr> <td>Author: Hans Mikelson</td> </tr> <tr> <td>October 1998</td> </tr> </table> <p> </p> <p>New in Csound version 3.49</p> </div> </div> <div class="navfooter"> <hr /> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"><a accesskey="p" href="biquad.html">Prev</a> </td> <td width="20%" align="center"> <a accesskey="u" href="OpcodesTop.html">Up</a> </td> <td width="40%" align="right"> <a accesskey="n" href="birnd.html">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top">biquad </td> <td width="20%" align="center"> <a accesskey="h" href="index.html">Home</a> </td> <td width="40%" align="right" valign="top"> birnd</td> </tr> </table> </div> </body> </html>