Re: [ecasound] python pyeca

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Thu Mar 02 2006 - 07:13:35 EET


On Fri, 24 Feb 2006, David M Good wrote:

> I guess what I meant to say is that the output
> from the ecasound chains are going to a stdout
> instead of a /dev/dsp etc..
> Is there a way to pipe the stdout from the eci to
> another pipe stdin within python.

that's a good question, but unfortunately this is not possible. The ECI
API is limited to controlling the audio processing engine (telling it what
to do), but it is not possible to route audio data over this API.

You can hack around this limitation for instance using named pipes (have
ecasound and your python app read from and/or rite to, a named pipe), but
these can be a bit messy to handle. See for example mkfifo(1/3) man pages
and python's os.mkfifo().

  links, my public keys, etc at
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
Ecasound-list mailing list
Received on Thu Mar 2 08:15:06 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 02 2006 - 08:15:06 EET