-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.SetSoundPitch
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Set pitch for a sound
| Parameter | Default Value | Note |
|---|---|---|
| sound | ||
| pitch | 1.0 |
None.
raylib.InitAudioDevice
sound = raylib.LoadSound("resources/beep.wav")
raylib.SetSoundPitch sound, 2.0 // double pitch
raylib.PlaySound sound
raylib.UnloadSound sound
raylib.CloseAudioDevice