1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3 <HEAD> 4 <META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5 <title>SNDEXIirFilterParam</title> 6 <link rel="stylesheet" href="../../css/nitro.css" type="text/css"> 7 </HEAD> 8 <BODY> 9 <H1>SNDEXIirFilterParam <IMG src="../../image/TWL.gif" width="24" height="12" border="0" align=middle></H1> 10 11 <H2>Definition</H2> 12 <DL> 13 <DD><CODE>#include <twl/snd.h></CODE></DD> 14 <DD><PRE><CODE>typedef struct _SNDEXIirFilterParam 15{ 16 u16 n0; 17 u16 n1; 18 u16 n2; 19 u16 d1; 20 u16 d2; 21} SNDEXIirFilterParam;</CODE></PRE></DD> 22 </DL> 23 24 <H2>Elements</H2> 25 <TABLE> 26 <TBODY> 27 <TR> 28 <TH width="25%">n0, n1, n2, d1, d2</TH> 29 <TD width="75%">Coefficients that compose an IIR filter (0 – 65,535).</TD> 30 </TR> 31 </TBODY> 32 </TABLE> 33 34 <H2>Description</H2> 35 <P> 36 A structure that is a collection of parameters used to set IIR filters. 37 </P> 38 <P> 39 You can use the parameters (<B>Hex</B>-type values) calculated with the <A href="doc/aboutIirFilterBuilder.html">IIR_FilterBuilder</A> unchanged. 40 (However, when using <B>Values</B>-type values, you must type-cast them to <CODE>u16</CODE>.) 41 </P> 42 <P> 43 The initial values for these parameters, for each filter that can be specified by the <A href="SNDEXIirFilterTarget.html"><CODE>SNDEXIirFilterTarget</CODE></A> structure, are as follows.<PRE><CODE>n0 = 0x7FFF(32767), n1 = n2 = d1 = d2 = 0</CODE></PRE> 44 </P> 45 <P> 46 Even if you have configured parameters for the various filters, resetting them to the values above will restore the initial filter state. 47 </P> 48 <H2>See Also</H2> 49 <P> 50 <CODE> 51 <A href="SNDEX_SetIirFilter.html">SNDEX_SetIirFilter</A>, <A href="SNDEX_SetIirFilterAsync.html">SNDEX_SetIirFilterAsync</A></CODE> 52 </P> 53 54 <H2>Revision History</H2> 55 <P> 56 2008/09/10 Added a link to <A href="doc/aboutIirFilterBuilder.html">IIR_FilterBuilder</A>.<BR> 57 2008/07/08 Initial version. 58 </P> 59 <hr><p>CONFIDENTIAL</p></body> 60</HTML> 61