<quote who="Brian Redfern"> > Actually a physicicst in northern germany came up with a realtime python > binding to alsa audio:
There is also an OSS driver, and SDL/Pygame supports esd and arts output. No promises wrt. latency or flexibility with these implementations. I tried the python/alsa stuff but concluded that it was not ready for serious use. The full duplex example actually uses C to run in a background thread, i.e. the python integration is a loose coupling. Also IIRC in output-only it does not need this background thread, but does not work with more than 2 channels. Following that I attempted to create a jack client for python. The problem with that was python did not seem friendly to the idea giving up control of execution to jack... so again at best it would probably be a loose coupling using a background thread. > easier to write an alsa app in python instead of having to master pointer > arthmetic, etc. Also using pygame for a gui and alsa audio could create a > really cool looking gui without much effort. I don't know how many people ... In the end there is really no good substitution for C/C++ when it comes to realtime audio, but there is nothing wrong with doing a not-quite realtime interface or some sound analysis in python. --andy ----------------------- Andrew W. Schmeder [EMAIL PROTECTED]
