
[question] how to change the sound pitch?
yzqdev opened this issue ยท 2 comments
the audioclip file doesn't have a setPitch
method, how to change the pitch of music?
like
...
clip.setPitch(1.1f)
clip.play();
I think I never added that, sorry.
You would need to get the OpenAL source int from one of the subclasses of AudioClip
and change the pitch directly via OpenAL. Kinda dirty, but that's the only way, sorry.