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
|
alSynSetPitchFormat#include <libaudio.h> void alSynSetPitch(ALSynth *drvr, ALVoice *voice, float pitch); Arguments
It sets the rate at which a wavetable will be rendered by the synthesizer. The pitch can range from between 0 and 2.0 (but not 0). If the sample rate of the wavetable is the same as the output rate set by osAiSetFrequency, then:
Make sure a pitch value of zero is never used. Using it will cause a divide by zero. Call this function (alSynSetPitch) from within an ALVoiceHandler only. See Also alSynSetVol alSynSetPan alSynSetFXMix alSynStartVoiceParams osAiSetFrequency
|