[Tutor] How can I realize a Echolot with Python on a Linux machine?

Walter Prins wprins at gmail.com
Tue Dec 6 14:08:50 CET 2011


Hi,

On 6 December 2011 12:39, André Hilbig <andre.hilbig at googlemail.com> wrote:

> A special library would
> be nice, that can access the soundcard and measure the time difference
> between two signals in realtime.
>
>
This seems apropriate:
http://stackoverflow.com/questions/1936828/how-get-sound-input-from-microphone-in-python-and-process-it-on-the-fly

Short URL:
http://is.gd/uCMV37

It suggests PyAudio (Windows) and PyALSAAudio (Linux) and provides an
example script for Linux using PyALSAAudio and I surmise you should be able
to do what you want with it.

Walter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111206/c5acc424/attachment.html>


More information about the Tutor mailing list