Re: [ecasound] audio dropouts whith ECI

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Mon Sep 01 2008 - 23:21:53 EEST


On Fri, 29 Aug 2008, Oliver Oli wrote:

> Last thing that bugs me: I'm using ecasound from Python that receives
> OSC messages and translates them to c-select and cop-set commands for
> ecasound. For testing I sent an OSC message every 10ms, which led to
> dropouts every few seconds.
> Jack (on Linux) displays no xruns at all
> and CPU load is reasonably low.

hmm, if Jack doesn't report xruns, how do you verify that there were
dropouts .. is there a gap in the audio stream produced by ecasound for
other JACK clients?

Oh, and is JACK running with real-time priority? If it's not, then there's
nothing protecting the real-time sensitive parts of JACK (and its clients)
from other application thread/processes...

> Seems to me that the problem lies
> somewhere in ecasound. Or can my Python script somehow block ecasound?
> I can also reproduce this on OS X and with the Ruby eci lib.

A lot of effort has been gone to isolate the control parts (whatever an
ECI client or a (G)UI built on top of libecasound does) from the engine.
So when the engine is run with real-time priority, nothing in other parts
of the system should be able to interfere with it. The protection is
enforced by the kernel, so it is fairly robust.

But, but, if you have a glitch, then something is definitely not right.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Ecasound-list mailing list
Received on Tue Sep 2 00:15:04 2008

This archive was generated by hypermail 2.1.8 : Tue Sep 02 2008 - 00:15:05 EEST