Actually a physicicst in northern germany came up with a realtime python binding to alsa audio: http://home3.ecore.net/cafeconleche/ Its not complete (audio support only, no midi), but it looks like it works, I'm downloading tonight after work to give it a try, it would certainly be 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 have played with Tritonous (I haven't been able to get it to work on my machine), but that gives bindings from java to alsa, so one could program alsa from jython.
On Fri, 16 Aug 2002, Kasper Souren wrote: > On Friday 09 August 2002 00:39, Andrew W. Schmeder wrote: > > However these days I recommend Python with Numeric/Scientific/SciPy > > extensions over Octave (and over Matlab). In addition to Python's > > unquestionably superior language support and library integration, Numeric > > offers some extra features such as typed matrices. (IIRC in Matlab/Octave > > all matrices are of type double). > > What do you use to play and load sound? I know there is tkSnack, but I don't > really like it. Maybe it's nice to use libsndfile for soundfile stuff. I did > it before for someone who programs in Pascal. > > The Python documentation about extending/embedding seems okay, but they don't > mention how to compile the .c file to get an .so file. I think it has been > written for experienced C programmers. > > For playing sound I was thinking about the pyeca thingy, but it's just an > interface to ecasound, and to play a sound you first need to write it to a > file. > > greetz, > Kasper >
