<DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> AXARTSet3DDopplerScale

AXARTSet3DDopplerScale

C Specification

#include <revolution.h>
#include <revolution/axart.h>
void AXARTSet3DDopplerScale(f32 scale);

Arguments

scale Closing speed scale.

Return Values

None.

Description

AXARTSet3DDopplerScale() sets an arbitrary closing speed scale for the Doppler pitch of 3D sounds. The AXART Library finds the pitch for the Doppler Effect using the following formula when a sound source approaches the camera. The scale set by this function is assigned to scale in the formula, while the AXART_3D articulator member closingSpeed is assigned to closingSpeed. Calculation results are similarly saved in the AXART_3D articulator member pitch.

pitch = closingSpeed ÷ scale

See Also

AXARTSet3DDistanceScale
AXART_3D

Revision History

2006/03/01 Initial version.
2006/09/01 Added arguments.


CONFIDENTIAL