Python Audio PAN (left or right) and channels

alex23 wuwei23 at gmail.com
Tue Apr 1 21:19:58 EDT 2008


On Apr 2, 4:04 am, ilgufoeiltuc... at gmail.com wrote:
> I need to play mp3 files on different channels and listen Channel 0 on
> the left earphone and Channel 1 on the right...
> How can I play mp3 files in different channel and pan the output?

Hey Mark,

Have you taken a look at GStreamer? What you're after could probably
be done from a CLI using gstreamer, but it also has python bindings if
you're wanting to integrate it with your own code.

GStreamer: http://gstreamer.freedesktop.org/
Docs for python bindings: http://pygstdocs.berlios.de/

Hope this helps.

- alex23



More information about the Python-list mailing list