Currently I am using Snack to record sound from the sound card and process it in my Python script. The performance is good enough to do some real-time work.
However, there is a lot of excess baggage type of overhead when using Snack: it seems to be converting data into a legal Tcl string and back into binary data when passing data from Snack to Python. I am considering ditching the above overhead by using native Python modules for processing sound. However, this would lose me the cross-platform support of Snack. Under Linux, there is the module ossaudiodev. However, I found no module, which would allow me to record sound under MS-Windows. Since I want my application to be cross-platform (both Linux >= 2.6.8 and MS-Windows XP) - I need to ensure that there is such a Python module. (I do not care about API differences, I can invoke both from my own wrapper module.) I already googled and found about winsound. But its documentation indicates no way to record sound using it. Does anyone know about a MS-Windows Python module, which would meet my needs? Thanks, --- Omer -- Every good master plan involves building a time machine. Moshe Zadka My own blog is at http://tddpirate.livejournal.com/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html