2018-05-13 13:14:14

Hello.
What are the audio libraries in Python?
I don't like the library in Pyglet. In libaudioverse, I did not find any examples. In the documentation, only a review of the library.
Thanks in advance!

2018-05-14 15:38:07

Right, Audio libraries. So, the first one I used was pyOpenal which has examples that can be found at https://pypi.org/project/PyOpenAL/
Next, Libaudioverse actually has okay documentation, and the examples I did find useful. Useful links for python, https://libaudioverse.github.io/libaudi … anual.html and https://libaudioverse.github.io/libaudi … index.html
You will want to check the module index I believe on that last link. Even nicer is that most of the examples in the language agnostic docs are written in python, so that's one really great advantage over any other language that this has bindings for. Those are the two I'm aware of. OpenAL requires a lot of dependencies to get to work, and I've had more luck with libaudioverse, well, other than looping stuff, but Their are a couple of theories I have about that trouble.

I have a website now.
"C: God's Programming Language
C++: The object-oriented programming language of a pagan deity" -- The Red Book
"There, but for the grace of God go I"

2018-05-14 22:55:35

There are a few, like PyMedia, PyAudio, PyAL, or the built in audio functions of Pygame, along with [these] libraries for scientific audio processing. I also have some OpenAL examples available [here] that use Pyglets or PyAL's bindings for audio playback. There's a few other examples that involve a bit of tweaking of Pyglets driver scripts that can also allow you to use EFX and HRTF effects as well.

-BrushTone v1.3.3: Accessible Paint Tool
-AudiMesh3D v1.0.0: Accessible 3D Model Viewer

2018-05-15 19:04:36

magurp244, I don't like the sound in Pyglet. For this reason, I'm looking at other libraries.