-
Notifications
You must be signed in to change notification settings - Fork 355
Description
Documentation request:
What documentation needs to be added?
Information on maximizing cross-platform compatibility for sound assets.
Where should it be added?
Probably the programming guide.
Details
Switching from soloud to pyglet for sound means that we inherit pyglet's issues. On OpenAL backends, only 16 bit audio is supported. Linux users can switch to a pulse backend, but macs reportedly only support 16 bit:
Your audio files are 24bit, but unfortunately the OpenAL backend does not support that.
Linux also has a PulseAudio backend available, but for OSX it only has OpenAL.
Essentially you need to use 16bit audio files for cross platform support.
A user ran into this on the pyglet discord server, and our users may be more confused by this as beginners. An easy recommendation would be to import assets into Audacity and export as 16 bit PCM wav, which is the default setting for wav export.