1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<title>AXSetVoiceLpfCoefs</title>
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">AXSetVoiceLpfCoefs</h1>
15
16
17<h2>C Specification</h2>
18<BLOCKQUOTE>
19<pre><code>#include &lt;revolution.h&gt;
20
21void AXSetVoiceLpfCoefs(AXVPB *pvpb, u16 a0, u16 b0);</CODE></pre>
22</BLOCKQUOTE>
23<h2>Arguments</h2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <tr>
26<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><font face="Courier New">AXVPB *pvpb</font></strong></em></TD>
27<TD width="520">Pointer to the specified voice.</TD>
28    </tr>
29  <tr>
30<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><font face="Courier New">u16 a0</font></strong></em>
31      </TD>
32<TD width="520">Fixed-point (one bit integer, 15 bits fraction) coefficient.
33      </TD>
34    </tr>
35  <tr>
36<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><font face="Courier New">u16 b0</font></strong></em>
37      </TD>
38<TD width="520">Fixed-point (one bit integer, 15 bits fraction) coefficient.
39      </TD>
40    </tr>
41</TABLE>
42<h2>Return Values</h2>
43
44<p>None.</p>
45<h2>Description</h2>
46<p>The <code>AXSetVoiceLpfCoefs()</code> function sets new low-pass filter coefficients while a voice is running. This function also asserts the appropriate synchronization flags in <code>axvpb.sync</code>.</p>
47<P>Use <font face="Courier New"><code>AXSetVoiceLpf</code></font> to activate or deactivate the low-pass filter.</P>
48<P>See the low-pass filter parameter block definition (<CODE><a href="../Parameter_Blocks/AXPBLPF_lpf.html">axvpb.pb.lpf</a></CODE>) for details on generating coefficients. Or you can get the coefficients of your specified cut-off frequency by using <font face="Courier New"><code><a href="../Utility/AXGetLpfCoefs.html">AXGetLpfCoefs()</a></code></font>.</P>
49<h2>See Also</h2>
50
51<p>
52<font face="Courier New"><a href="../Parameter_Blocks/AXPBLPF_lpf.html">axvpb.pb.lpf</a><br> <a href="AXSetVoiceLpf.html">AXSetVoiceLpf</a><br> <a href="../Utility/AXGetLpfCoefs.html">AXGetLpfCoefs</a><br></font>
53</p>
54
55<h2>Revision History</h2>
56<P>2006/03/01 Initial version.</P>
57<hr>
58<P>CONFIDENTIAL</p>
59</BODY>
60</HTML>
61