faiface/beep

Unsupported Format Type - 3 Error

SolarLune opened this issue · 0 comments

Hello!

I'm using beep to load sounds for my ideaboard and project planning tool, MasterPlan, and it's been working pretty well; thank you very much for the excellent cross-platform audio library!

However, I've noticed that some files are unable to be decoded, and return an error of unsupported format type - 3. After re-exporting one WAV file that wasn't working into a couple of different formats, it looks like 32-bit PCM and 32-bit Float aren't supported, while 24-bit PCM works fine. For reference, the sound file I'm testing with is this one from FreeSound.org.

Is this a known issue or something that may be resolved in the future? If not because there's not enough use for streaming sound files that use such high bit-depth or sample rate, that would be fine, but could it then be possible to improve the error message to specifically mention the bit depth or sample rate as being unsupported in this case?

Thank you very much!