[Python-ideas] Cross Platform Python Sound Module/Library

anatoly techtonik techtonik at gmail.com
Fri Apr 26 16:36:06 CEST 2013


Because there are many user stories and it is hard to get API that suits
them all. Audio is not a sound - it is a stream, and the stream is
continuous. You need to be able to detect latency and control the buffer
size to compensate that. There is also a problem of mixing multiple streams
- your system probably has a limitation for it, and multiple ways to do
this.

Anyway, it would be awesome to have at least some basic user stories of
playing sounds covered by stdlib. I experimented with some things on
Windows, so you may find the following public domain code useful -
https://bitbucket.org/techtonik/audiosocket - it plays CD format audio
streams.


-- 
anatoly t.


On Fri, Apr 26, 2013 at 4:39 PM, Clay Sweetser <clay.sweetser at gmail.com>wrote:

> I've noticed that the python standard library lacks a cross-platform
> sound/audio module, instead having seperate modules for linux and windows.
> Is there any reason a standard cross platform library has not been created
> yet?
>
> Clay Sweetser
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130426/020c3a2e/attachment.html>


More information about the Python-ideas mailing list