Function
nuAuSndPlayerSetPitch (Macro)
void nuAuSndPlayerSetPitch(f32 pitch)
Arguments
Return Value
None
Explanation
Set the pitch of the sound object for the sound player.
This is used right after the nuAuSndPlayerPlay function or after
specifying the sound object using nuAuSndPlayerSetSound.
If the sound is being played back, that pitch value is modified. If the sound is not being played back, it affects the pitch value of sound when played back, later.
The sound maintains the original pitch when pitch value is 1. The pitch goes down when the pitch value is less than 1 and the pitch goes 1 octave lower than original pitch when the pitch value is 0.5. The maximum pitch value is 2.0 (1 octave higher).
See Also
alSndpSetPitch