Re: [ecasound] Jack transport problem

From: olivier guilyardi <ojaiml@email-addr-hidden>
Date: Mon Mar 07 2005 - 23:44:28 EET

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
>>>$ 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

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.


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.
Ecasound-list mailing list
Received 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