I am developing a little sound player in python (wxPython) which I would like to use on Linux, Windows, and OSX. Looking for a sound library that I can use cross platform. Ideally one that has support for most of the major codecs (or uses what is installed on the user's system). Fading between files would be a plus, however not a necessity. No manipulation of the actual audio files is needed- just a way to play them from within Python.
Asked
Active
Viewed 134 times
0
-
1Also note that said duplicatee is itself marked a possible duplicate of [Play audio with python](http://stackoverflow.com/questions/260738/play-audio-with-python) and [What's a cross platform way to play a sound file in python?](http://stackoverflow.com/questions/276266/whats-a-cross-platform-way-to-play-a-sound-file-in-python), and there are dozens more under the Related links. – abarnert Aug 03 '13 at 00:32
-
Answer at Play a sound with Python recommends Snack (http://www.speech.kth.se/snack/), which, as of this writing, supports WAV, AU, AIFF, MP3, CSL, SD, SMP, and NIST/Sphere, and is cross-platform. – Jason C Aug 03 '13 at 03:26
-
1@JasonC, the Snack library hasn't been updated since 2004. – muncherelli Aug 03 '13 at 05:29
-
If it works, it may not have needed an update. :-) There is a more complete list of options at http://wiki.python.org/moin/Audio/ (see platform-independent section). – Jason C Aug 04 '13 at 21:18