Closed defaultxr closed 6 years ago
This is a request to expose pitch adjustment in Bodge/Gamekit. I was imagining doing something like this in Gamekit:
(gamekit:play-sound :foo :pitch 0.5)
Which would play the :foo sound at half pitch, for example.
:foo
While I'm asking, it would also be nice to be able to adjust the volume of sounds as well (looks like OpenAL refers to it as AL_GAIN).
AL_GAIN
Thank you! :)
New functions exposed:
;; setfable #'ge.snd:audio-min-gain #'ge.snd:audio-max-gain #'ge.snd:audio-pitch
This is a request to expose pitch adjustment in Bodge/Gamekit. I was imagining doing something like this in Gamekit:
Which would play the
:foo
sound at half pitch, for example.While I'm asking, it would also be nice to be able to adjust the volume of sounds as well (looks like OpenAL refers to it as
AL_GAIN
).Thank you! :)