#include <revolution.h> void AXSetVoiceLpfCoefs(AXVPB *pvpb, u16 a0, u16 b0);
| AXVPB *pvpb | Pointer to the specified voice. |
| u16 a0 | Fixed-point (one bit integer, 15 bits fraction) coefficient. |
| u16 b0 | Fixed-point (one bit integer, 15 bits fraction) coefficient. |
None.
The AXSetVoiceLpfCoefs() function sets new low-pass filter coefficients while a voice is running. This function also asserts the appropriate synchronization flags in axvpb.sync.
Use AXSetVoiceLpf to activate or deactivate the low-pass filter.
See the low-pass filter parameter block definition (axvpb.pb.lpf) for details on generating coefficients. Or you can get the coefficients of your specified cut-off frequency by using AXGetLpfCoefs().
axvpb.pb.lpf
AXSetVoiceLpf
AXGetLpfCoefs
2006/03/01 Initial version.
CONFIDENTIAL