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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/ax.h> 19 20void AXSetVoiceLpfCoefs(AXVPB *pvpb, u16 a0, u16 b0); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>pvpb</TH> 27<TD>Pointer to the specified voice.</TD> 28 </tr> 29 <tr> 30<TH>a0</TH> 31<TD>Fixed-point (one bit integer, 15 bits fraction) coefficient.</TD> 32 </tr> 33 <tr> 34<TH>b0</TH> 35<TD>Fixed-point (one bit integer, 15 bits fraction) coefficient.</TD> 36 </tr> 37</TABLE> 38 39<h2>Return Values</h2> 40<p>None.</p> 41 42<h2>Description</h2> 43<p>The <code>AXSetVoiceLpfCoefs</code> function sets new low-pass filter coefficients while a voice is running. This function also asserts the synchronization flag corresponding to <code>axvpb.sync</code>.</p> 44<P>Use the <code>AXSetVoiceLpf</code> function to activate or deactivate the low-pass filter.</P> 45<P>See the low-pass filter parameter block definition (<a href="../Parameter_Blocks/AXPBLPF_lpf.html"><code>axvpb.pb.lpf</code></a>) for details on generating coefficients. Or you can get the coefficients of your specified cut-off frequency by using the <a href="../Utility/AXGetLpfCoefs.html"><code>AXGetLpfCoefs</code></a> function.</P> 46 47<h2>See Also</h2> 48<p class="reference"> 49<a href="../Parameter_Blocks/AXPBLPF_lpf.html">axvpb.pb.lpf</a>, <a href="AXSetVoiceLpf.html">AXSetVoiceLpf</a>, <a href="../Utility/AXGetLpfCoefs.html">AXGetLpfCoefs</a> 50</p> 51 52<h2>Revision History</h2> 53<P> 542006/03/01 Initial version.<br> 55</P> 56 57<hr><p>CONFIDENTIAL</p></body> 58</html> 59