22 ms·
> playsound This library is unfortunately effectively abandoned -- it hasn’t received any updates in over four years, and its latest version doesn’t work at al
by fireattack 1y ago
> playsound
This library is unfortunately effectively abandoned -- it hasn’t received any updates in over four years, and its latest version doesn’t work at all:
https://github.com/TaylorSMarks/playsound/issues/101 https://github.com/TaylorSMarks/playsound/issues/101
(A workaround exists: downgrading to version 1.2.2, but that comes with its own issues.)
The last time I experimented with audio in Python, I was surprised by how lacking its multimedia libraries are.
For example, when I needed to read audio files as data, I tried `SoundFile`, `librosa` (a wrapper around `SoundFile` or `audioread`), and `pydub`, and none of them was particularly satisfying or has seen much active development lately.
If you need to read various formats, pydub is probably your best bet (it does this by invoking ffmpeg under the hood). I was hoping for a more "native" solution, but oh well. Unfortunately, `pydub` is also unmaintained and has some serious performance issues (for example: https://github.com/jiaaro/pydub/issues/518 https://github.com/jiaaro/pydub/issues/518 )
- AlSweigart 1y agoOh, thanks for pointing this out. This was an early unpublished draft. I later changed to `playsound3` which is a modern fork of `playsound`. I've updated the web page.
- frainfreeze 1y agoI guess it depends on the context? For example panda3d supports openAL, FMOD and Miles.
- _k2vp 1y agoHuh I recognize that library. Ran into the same issues last year and made a fork. https://github.com/acheong08/playsound https://github.com/acheong08/playsound https://pypi.org/project/playsound2/ https://pypi.org/project/playsound2/