N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

nuAuSndPlayerSetPitch

Format
void nuAuSndPlayerSetPitch(f32 pitch)

Arguments
  • pitch is the pitch value
Returned Value
none

What This Macro Does
It sets the pitch of the sound in the sound player. This is used immediately after the nuAuSndPlayerPlay function or after the sound in question has been specified by the nuAuSndPlayerSetSound function. If a sound is being played, that pitch value is corrected. Otherwise the function affects the pitch values of sounds when they are played. A pitch value of 1 is the original pitch. Values smaller than 1 lower the pitch, and a value of 0.5 is a full octave lower. The maximum pitch value is 2 (an octave higher).

See Also
alSndpSetPitch



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998