Jack O'Quin wrote:
> Kai Vehmanen <kvehmanen@email-addr-hidden> writes:
>
>>the transport functionality has been tested in interactive mode (-c)
>>so I recommend using that. In non-interactive mode, ecasound runs
>>until the job is considered to be finished (this feature is important
>>for use of ecasound in scripts). Of course with JACK, it is not that
>>easy to decide when to exit. I'll have to take a look at this issue
>>again...
>>
>>
>>>$ ecasound -i basse.ewf -o jack -G:jack,ecasound,recv
>>
>>So IOW: $ ecasound -c -i basse.ewf -o jack -G:jack,ecasound,recv
That seems to work fine. Except that when I set jack frame position to some high
value (several minutes over the sample length) I get a loud noise, with ecasound
complaining (I have 4 chains, basse.ewf is one of the inputs) :
(audioio-db-client) Warning! Underrun in reading from "PigBasse.wav". Trying to
recover.
Apart from that, I see that ecasound seems to correctly handle EOF, staying up
and silent when the sample is finished. This is the good behaviour to me.
> Interpreting the transport state transition from Rolling to Stopped as
> an EOF certainly makes sense in many situations. But, I recall trying
> to do something similar to Olivier, repeatedly stopping and starting a
> non-interactive ecasound session. That would be nice to have (as an
> option, perhaps).
>
> This raises the question of how to terminate a non-interactive
> ecasound. Olivier's suggestion (Ctrl-C) seems OK to me.
Yeah, some options would be nice. In case of a non interactive session, I think
that ecasound should remain up until jackd shuts down (or the user hits Ctrl-C).
This way, if you terminate the jackd process from your script, all ecasounds
instances would properly exits.
Thanks
-- og ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Ecasound-list mailing list Ecasound-list@email-addr-hidden https://lists.sourceforge.net/lists/listinfo/ecasound-listReceived on Tue Mar 8 00:15:23 2005
This archive was generated by hypermail 2.1.8 : Tue Mar 08 2005 - 00:15:23 EET