AXGetLpfCoefs

C Specification

#include <revolution.h>

void AXGetLpfCoefs(u16 freq, u16 *a0, u16 *b0);

Arguments

freq

Cut-off frequency of the low-pass filter in Hertz (Hz), must be within the range 0 <= freq <= 16,000.

*a0

Pointer to the coefficient a0.

*b0

Pointer to the coefficient b0.

Return Values

None.

Description

AXGetLpfCoefs() gets the values a0 and b0. a0 and b0 can be passed to AXSetVoiceLpfCoefs() or used as low-pass filter coefficients when setting the AXPBLPF structure.

AXGetLpfCoefs() does the same calculation that is shown in AXPBLPF structure page.

See Also

axvpb.pb.lpf
AXSetVoiceLpf
AXSetVoiceLpfCoefs

Revision History

2006/03/01 Initial version.


CONFIDENTIAL