Omer Zak wrote:
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.
I think you want PyMedia__. It can record and play sound on Linux
(apparrently OSS only) and Windows. It can also {,un}compress audio and
video. I suppose it's efficient enough, given its intended use.
__ http://pymedia.org/
--
Beni Cherniavsky <[EMAIL PROTECTED]>, who can only read email on weekends.