#include <revolution/ax.h> void AXSetVoiceLpfCoefs(AXVPB *pvpb, u16 a0, u16 b0);
| pvpb | Pointer to the specified voice. |
|---|---|
| a0 | Fixed-point (one bit integer, 15 bits fraction) coefficient. |
| 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 synchronization flag corresponding to axvpb.sync.
Use the AXSetVoiceLpf function 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 the AXGetLpfCoefs function.
axvpb.pb.lpf, AXSetVoiceLpf, AXGetLpfCoefs
2006/03/01 Initial version.
CONFIDENTIAL