Play back and record sound *at the same time* for n seconds

Ben Finney ben at benfinney.id.au
Sat Apr 26 01:59:38 EDT 2014


tfischer.ncku at gmail.com writes:

> to program an art project that involves sound feedback I need a way to
> get a python script to to play back and to record sound *at the same
> time* for n seconds.

This is largely unrelated to whether you use Python. Rather, you need to
know what operating system (OS) services are available on your chosen
OS, that will allow the capability you're asking for.

Then, once you know what OS service to use for simultaneous sound
channels, you can look for a way to use Python to interface with that.

What OS will you be using? I know that the JACK library
<URL:http://jackaudio.org/> has the capabilities you're asking about,
which would make GNU+Linux a good choice.

-- 
 \       “As the most participatory form of mass speech yet developed, |
  `\    the Internet deserves the highest protection from governmental |
_o__)                   intrusion.” —U.S. District Court Judge Dalzell |
Ben Finney




More information about the Python-list mailing list