Re: [ecasound] php-triggered interactive script terminates

From: S. Massy <lists@email-addr-hidden>
Date: Wed Sep 26 2012 - 20:18:03 EEST

On Wed, Sep 26, 2012 at 08:16:48AM +0000, spencer marsden wrote:
>
>
>
>
>
> > > #!/bin/bash
> > > # engine_start
> > > set -x on
> > > TERM=linux
> > > export TERM
> > > ecasound -c -i /var/www/upload/*.wav -o jack,system -G:jack,hereiam,recv -E engine-launch -K ;
>
> > The -c flag specified the interactive mode, and therefore
> > requires a terminal.
> >
> Thanks for response- so its impossible for a php script to interact with ecasound's interactive mode? the php eci addon does not work with php5.
> any suggestions welcome- Im trying to stop,rewind playback via web interface.
Use the network socket instead, like so:
ecasound -G:jack,hereiam,recv --server -K -i:file.wav -o:jack,system
Now connect to localhost:2868 using netcat or something within PHP and
you can issue commands and read responses from ecasound.

Cheers,
S.M.

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Thu Sep 27 00:15:02 2012

This archive was generated by hypermail 2.1.8 : Thu Sep 27 2012 - 00:15:02 EEST