[Python-3000] audio device support (original) (raw)
Gregory P. Smith greg at krypto.org
Sun Sep 9 21:09:23 CEST 2007
- Previous message: [Python-3000] audio device support
- Next message: [Python-3000] audio device support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
What I'd like to see:
I like the idea of having audio device support for the major operating systems in the standard library. But I am even more interested in a common interface for simple operations. IMO, the API should support: - stereo playback - stereo recording - different sampling rates and formats (alaw, mulaw and PCM in signed integers in various widths and maybe PCM in floats/doubles). - device selection - volume control Overall, I think the level of abstraction in the OSS or ALSA APIs is about right, coreaudio on OS X and DirectSound on Windows are overkill outside of niche applications. I would volunteer sample implementations for Windows, OS X and Linux (ALSA). - Lars
That sounds like a nice basic simple interface. I suggest writing it up and submitting it as a patch or even making it stand alone module with its own distutils setup.py. It sounds like a good idea regardless of it its accepted into the standard library. (clearly what we have now for python audio is a mess :)
-gps -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-3000/attachments/20070909/a88ad6ea/attachment-0001.htm
- Previous message: [Python-3000] audio device support
- Next message: [Python-3000] audio device support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]