#include <revolution.h>
#include <revolution/axfx.h>
/*----------------------------------------------*
For mono, stereo, surround
*----------------------------------------------*/
typedef struct AXFX_CHORUS
{
// do not touch these!
AXFX_CHORUS_EXP chorusInner;
// user parameters
u32 baseDelay; // Base delay of chorus effect in ms
u32 variation; // Variation of base delay in ms
u32 period; // Period of variational oscillation in ms
} AXFX_CHORUS;
/*----------------------------------------------*
For Dolby Pro Logic II
*----------------------------------------------*/
typedef struct AXFX_CHORUS_DPL2
{
// do not touch these!
AXFX_CHORUS_EXP_DPL2 chorusInner;
// user parameters
u32 baseDelay; // Base delay of chorus effect in ms
u32 variation; // Variation of base delay in ms
u32 period; // Period of variational oscillation in ms
} AXFX_CHORUS_DPL2;
baseDelay |
Length of delay line (=standard delay time of input audio). Specify a value as 1 <= value <= 50 (in msec). |
|---|---|
variation |
Range over which the output position from the delay line (=delay time) is varied in time by the LFO. Specify a value as 0 <= value <= baseDelay (in msec). The output position varies in time along the range of (baseDelay - variation) to (baseDelay + variation). |
period |
Fluctuation period of LFO. Specify a value as 500 <= value <= 10000 (in msec). |
When using Chorus, you must assign appropriate values to the various parameters of the AXFX_CHORUS or AXFX_CHORUS_DPL2 structure. Normally, the AXFX_CHORUS structure is used, while the AXFX_CHORUS_DPL2 structure is used with Dolby Pro Logic II.
2007/08/06 Initial version.
CONFIDENTIAL