XAP File Format: Ramp

Parent: Set Pitch Event, Set Volume Event

Syntax

Ramp
{
Initial Value = #;
Slope = #;
Slope Delta = #;
Duration = #;
}

Elements

Element Type Comment
Initial Value Number Starting value of the ramp
Slope Number Slope of ramp (per sample)
Slope Delta Number Rate of change of slope (per sample)
Duration Number Duration of ramp in audio frames (16 bits == 170 seconds @ 128 samples per frame)