#include <cafe/ax.h> #define AX_SRC_TYPE_NONE 0 //bypass SRC #define AX_SRC_TYPE_LINEAR 1 //linear interpolation #define AX_SRC_TYPE_4TAP_8K 2 //4 tap polyphase, roll off at 8kHz #define AX_SRC_TYPE_4TAP_12K 3 //4 tap polyphase, roll off at 12kHz (same as N64) #define AX_SRC_TYPE_4TAP_16K 4 //4 tap polyphase, roll off at 16kHz void AXSetMultiVoiceSrcType (AXMVPB *mv, u32 type);
|mv||Pointer to the multi-voice.|
Selects the type of converter that will be used for SRC (pitch bending) for the specified multi-voice.
|AX_SRC_TYPE_NONE||Bypasses the pitch-bend (SRC) stage entirely. Due to the reduced computation cost, this type is highly recommended for sounds which do not need pitch-modulation (such as streaming music).|
|AX_SRC_TYPE_LINEAR||Linear interpolation. Low computational load.|
|AX_SRC_TYPE_4TAP_8K||Applies a low-pass filter with 8KHz cut-off frequency and -3dB/octave roll-off.|
|AX_SRC_TYPE_4TAP_12K||Applies a low-pass filter with 12KHz cut-off frequency and -3dB/octave roll-off.|
|AX_SRC_TYPE_4TAP_16K||Applies a low-pass filter with 16KHz cut-off frequency and -3dB/octave roll-off.|
AX_SRC_TYPE_4TAP_16Ksample rate converters are provided for legacy support. They provide compatibility with audio content authored for older console systems.
2013/10/20 Initial Version