AXART_AUXC_VOLUME_ENV

C Specification

#include <revolution.h>
#include <revolution/axart.h>
typedef struct
{
    AXART_ART   art;

    // runtime user parameters
    
    s32         delta;
    s32         target;
    s32         attenuation;

} AXART_AUXC_VOLUME_ENV;

Description

AXART_AUXC_VOLUME_ENV is a data structure used to define an AuxC volume envelope sound articulator. This articulator will apply an AuxC volume attenuation delta for an AXART_SOUND until the AuxC volume attenuation reaches the target. Prior to calling AXARTAddArticulator for the AXART_AUXC_VOLUME_ENV, the user application must call AXARTInitArtAuxCVolumeEnv.

Data Member Description
AXART_ART art AXART articulator descriptor maintained by AXART. Do not write to this parameter.
s32 delta Volume attenuation delta per audio frame, in decibels (0x00010000 = 0.1 dB).
s32 target Volume attenuation target, 0x00010000 = 0.1 dB.
s32 attenuation Current envelope output.

See Also

AXARTInitArtAuxCVolumeEnv
AXARTAddArticulator
AXART_ART
AXART_SOUND

Revision History

2006/03/01 Initial version.


CONFIDENTIAL