Sound options

I’ve been playing around with sound, and noticed that it’s options are very limited. As far as I understand, there’s no way to make sound play from certain position (i.e. skip first 5s). It is, I’think, quite multi-purpose feature, it can be used to pause music, synchronize music to events in game and such. I would like to see it added.

If there is any library that does this, please let me know.
Thanks

If you’re ok with their licensing scheme (free for up to 1 game per year for indie budgets, you must include them in the credits), then I recommend you try FMOD. It’s pretty great for stuff like 3D sound and adaptive soundtracks.

3 Likes

Thanks for sharing. Right now I’m looking for something simpler though.

There’s @sergey.lerg’s OpenAL extension, but I never used it and don’t know exactly what it can do.

There is my OpenAL extension, which needs fixing on Windows, and there is FMOD extension, which is more complicated.

2 Likes

Unfortunately this fairly basic feature is missing. We’ve had to push this feature many times but it is my hope that we can ship it during this year. I’d like to have these functions available:

sound.play(url, { offset = 1.5 })
sound.play(url, { pitch = 1.2 })
3 Likes