Audio¶
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
Audio in Python¶
This page tries to provide a starting point for those who want to work with audio in combination with Python.
If you are creating a game, most of what you are looking for may already be included in the many PythonGameLibraries that are available.
If you are looking for podcasts related to Python, go to the PythonAudioMaterial page.
Built in modules¶
The Multimedia Services allow for some basic audio functionality in Python. It consists of the following modules:
Beyond the default modules¶
Alternatively, you might want to learn about audio programming in Python. There is a veritable forest of stuff out there, but here are some good starting points.
For a complete overview have a look at PythonInMusic.
Platform independent¶
Platform dependent¶
http://gstreamer.freedesktop.org/modules/gst-python.html
http://pyalsaaudio.sourceforge.net/
http://pypi.python.org/pypi/audiosocket/ - pure Python solution to play audio on Windows
Modules relying on closed source¶
pysonic - A wrapper around the FMOD-library offering plenty of options including 3D sound and effects. FMOD is a popular closed, but free for own use, that is used in many commercial game titles.