Audio Library for Python?

Bd141447ef4e6c3e58f7148c7a900261
0
Exeneva 101 Jul 03, 2007 at 20:35

Hello DevMaster Members,

I am working on a RTS game with a couple of friends. We’re developing our own engine for the game, which will be written mostly in Python (by me) along with a few plugins written in C. Currently I’m having trouble looking for a cross-platform audio library for python, preferably open-source. Does anyone here know of any OpenAL wrappers for Python, or any other python audio libraries?

2 Replies

Please log in or register to post a reply.

A9102969e779768e6f0b8cb87e864c94
0
dave_ 101 Jul 03, 2007 at 21:17

I’ve not used it with Python but I have used FMOD and I’ve found it very easy to use, better than OpenAL
Here is a python wrapper: http://www.cheeserater.com/packages/pySonicEx/

B7dcbc0c0f07253f25ff5c25fe38c081
0
SamuraiCrow 101 Jul 08, 2007 at 20:22

If you’re doing Python game development, you should know about PyGame. It is an open-source extension with support for graphics and sound of all sorts. If you want to use 3d you can even use PyGame to set up a context for PyOpenGL. I don’t know of any Python wrappers for OpenAL, however you can play .OGG files in PyGame.