Re: [ecasound] python pyeca

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

Hi,

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 http://eca.cx/kv
-------------------------------------------------------
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!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-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