SetSoundPitch
From Onset Developer Wiki
Description
Sets the sound pitch.
Syntax
SetSoundPitch(sound, Pitch)
Parameters
- sound
The sound identifier. - Pitch
The pitch in floating point.
Return Value
- Returns true on success.
Example
if (IsValidSound(soundId)) then
SetSoundPitch(soundId, 0.5) -- Half the sound pitch
end