AXART_PITCH_ENV

C Specification

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

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

} AXART_PITCH_ENV;

Description

AXART_PITCH_ENV is a data structure used to describe a pitch envelope sound articulator. This articulator applies a pitch delta for an AXART_SOUND until the pitch reaches the target. Prior to calling AXARTAddArticulator() for the AXART_PITCH_ENV, the user application must call AXARTInitArtPitchEnv().

Data Member Description
AXART_ART art AXART articulator descriptor maintained by AXART. Do not write to this parameter.
s32 delta Cent delta per audio frame (0x00010000 = 1 cent).
s32 target Cent target (0x00010000 = 1 cent).
s32 cents Current envelope output.

See Also

AXARTInitArtPitchEnv
AXARTAddArticulator
AXART_ART
AXART_SOUND

Revision History

2006/03/01 Initial version.


CONFIDENTIAL