1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<title>AXGetLpfCoefs</title> 6<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 7<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 8<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 9<META http-equiv="Content-Style-Type" content="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">AXGetLpfCoefs</h1> 15 16 17<h2>C Specification</h2> 18<BLOCKQUOTE> 19<pre><code>#include <revolution.h> 20 21void AXGetLpfCoefs(u16 freq, u16 *a0, u16 *b0);</CODE></pre> 22</BLOCKQUOTE> 23<h2>Arguments</h2> 24 25<table border="1" cellpadding="3" cellspacing="0.1"> 26 <tr> 27 <td width="120" bgcolor="#ffffe8"> 28<p><em><strong><font face="Courier New">freq</font></strong></em></p> 29 </td> 30 <td width="520"> 31<p>Cut-off frequency of the low-pass filter in Hertz (Hz), must be within the range 0 <= <EM><STRONG>freq</STRONG></EM> <= 16,000.</p> 32 </td> 33 </tr> 34 <tr> 35 <td width="120" bgcolor="#ffffe8"> 36<p><em><strong><font face="Courier New">*a0</font></strong></em></p> 37 </td> 38 <td width="520"> 39<p>Pointer to the coefficient <EM><STRONG>a0</STRONG></EM>.</p> 40 </td> 41 </tr> 42 <tr> 43 <td width="120" bgcolor="#ffffe8"> 44<p><em><strong><font face="Courier New">*b0</font></strong></em></p> 45 </td> 46 <td width="520"> 47<p>Pointer to the coefficient <EM><STRONG>b0</STRONG></EM>.</p> 48 </td> 49 </tr> 50</table> 51 52<h2>Return Values</h2> 53<P>None.</P> 54<h2>Description</h2> 55<P><CODE>AXGetLpfCoefs()</CODE> gets the values a0 and b0. a0 and b0 can be passed to <code><a href="../Voice_Parameters/AXSetVoiceLpfCoefs.html">AXSetVoiceLpfCoefs()</a></code> or used as low-pass filter coefficients when setting the <code><a href="../Parameter_Blocks/AXPBLPF_lpf.html">AXPBLPF</a></code> structure.</P> 56<P><CODE>AXGetLpfCoefs()</CODE> does the same calculation that is shown in <code><a href="../Parameter_Blocks/AXPBLPF_lpf.html">AXPBLPF</a></code> structure page.</P> 57<h2>See Also</h2> 58 59<p> 60<font face="Courier New"><a href="../Parameter_Blocks/AXPBLPF_lpf.html">axvpb.pb.lpf</a><br> <a href="../Voice_Parameters/AXSetVoiceLpf.html">AXSetVoiceLpf</a><br> <a href="../Voice_Parameters/AXSetVoiceLpfCoefs.html">AXSetVoiceLpfCoefs</a><br></font> 61</p> 62<H2>Revision History</H2> 63<P>2006/03/01 Initial version.</P><hr> 64<P>CONFIDENTIAL</p> 65</BODY> 66</HTML> 67