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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/ax.h> 19 20void AXGetLpfCoefs(u16 freq, u16 *a0, u16 *b0); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<th>freq</th> 27<td>Cut-off frequency of the low-pass filter in Hertz (Hz), must be within the range 0 <= <SPAN class="argument">freq</SPAN> <= 16,000.</td> 28 </tr> 29 <tr> 30<th>a0</th> 31<td>Pointer to the coefficient <SPAN class="argument">a0</SPAN>.</td> 32 </tr> 33 <tr> 34<th>b0</th> 35<td>Pointer to the coefficient <SPAN class="argument">b0</SPAN>.</td> 36 </tr> 37</table> 38 39<h2>Return Values</h2> 40<P>None.</P> 41 42<h2>Description</h2> 43<P><CODE>AXGetLpfCoefs</CODE> gets the values <SPAN class="argument">a0</SPAN> and <SPAN class="argument">b0</SPAN>. <SPAN class="argument">a0</SPAN> and <SPAN class="argument">b0</SPAN> can be passed to the <A href="../Voice_Parameters/AXSetVoiceLpfCoefs.html"><CODE>AXSetVoiceLpfCoefs</CODE></A> function or used as low-pass filter coefficients when setting the <A href="../Parameter_Blocks/AXPBLPF_lpf.html"><CODE>AXPBLPF</CODE></A> structure.</P> 44<P><code>AXGetLpfCoefs</code> does the same calculation that is shown in the <A href="../Parameter_Blocks/AXPBLPF_lpf.html"><CODE>AXPBLPF</CODE></A> structure page.</P> 45 46<h2>See Also</h2> 47<p class="reference"> 48<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> 49</p> 50 51<H2>Revision History</H2> 52<P> 532006/03/01 Initial version.<BR> 54</P> 55 56<hr><p>CONFIDENTIAL</p></body> 57</html> 58