Revision 16 as of 2007-11-23 15:19:41

Clear message

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 looking for podcast and such on Python you are not at the right place here, but PythonAudioMaterial is. If you are creating a game, most of what you are looking for may already be included in the many [PythonGameLibraries game libraries] that are available for Python.

Built in modules

The [http://docs.python.org/lib/mmedia.html Multimedia Services] allow for some basic audio functionality in python. It consists of the following modules:


/!\ Edit conflict - other version:


[http://docs.python.org/lib/module-audioop.html audioop]

[http://docs.python.org/lib/module-aifc.html aifc]

[http://docs.python.org/lib/module-sunau.html sunau]

[http://docs.python.org/lib/module-wave.html wave]

[http://docs.python.org/lib/module-chunk.html chunk]

[http://docs.python.org/lib/module-sndhdr.html sndhdr]

[http://docs.python.org/lib/module-ossaudiodev.html ossaudiodev]


/!\ Edit conflict - your version:


[http://docs.python.org/lib/module-audioop.html audioop]

[http://docs.python.org/lib/module-aifc.html aifc]

[http://docs.python.org/lib/module-sunau.html sunau]

[http://docs.python.org/lib/module-wave.html wave]

[http://docs.python.org/lib/module-chunk.html chunk]

[http://docs.python.org/lib/module-sndhdr.html sndhdr]

[http://docs.python.org/lib/module-ossaudiodev.html ossaudiodev]


/!\ End of edit conflict


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


/!\ Edit conflict - other version:


[http://people.csail.mit.edu/hubert/pyaudio/ pyAudio]

[http://www.speech.kth.se/snack/ Snack]

[http://sourceforge.net/projects/audiotools/ Python Audio Tools]

Platform dependent

[http://gstreamer.freedesktop.org/modules/gst-python.html]


/!\ Edit conflict - your version:


[http://people.csail.mit.edu/hubert/pyaudio/ pyAudio]

[http://www.speech.kth.se/snack/ Snack]

[http://sourceforge.net/projects/audiotools/ Python Audio Tools]

Platform dependent

[http://gstreamer.freedesktop.org/modules/gst-python.html]


/!\ End of edit conflict


Modules relying on closed source


/!\ Edit conflict - other version:


[http://pysonic.sourceforge.net/index.html pysonic]


CategoryDocumentation


/!\ Edit conflict - your version:


[http://pysonic.sourceforge.net/index.html pysonic]


CategoryDocumentation


/!\ End of edit conflict


Unable to edit the page? See the FrontPage for instructions.