Re: [linux-audio-dev] XAP spec - early scribbles

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] XAP spec - early scribbles
From: Dave Griffiths (dave_AT_pawfal.org)
Date: Fri Feb 28 2003 - 23:01:21 EET


On Fri, 28 Feb 2003 19:05:19 +0100
David Olofson <david_AT_olofson.net> wrote:

> On Friday 28 February 2003 09.20, torbenh_AT_gmx.de wrote:
> [...]
> > random latency ? how do you mean that ?
>
> Latency depends on how you happen to construct the net (order of
> instantiation, connections etc) and/or the actual layout of the net,
> in "non-obvious" ways.

In ssm I sort the network each time a connection is made/destroyed, and generate a ordered list of modules to process from the root up to the leaves. It has to cope with circular sections, which unavoidably introduce latency, but it works. It also automatically means unconnected modules don't get processed, which is nice.

> > see current implementation...
> [...]
> > one advantage is with silent sub nets....
>
> I'm not sure it's that easy. What about plugins with tails and/or
> internal state? (Delay, reverbs, most filters, ...) You can't just
> stopp running these when they get no input, or when you don't need
> their output.

I must admit I haven't followed this discussion too closely, so you've probably covered all this before, but I think all this work to figure out if you are processing silent data is not really as much a win to be worth the hassle - as it won't ever make the worst case faster.

Time would probably be better spent finding actual bottlenecks and optimising them.

dave


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Feb 28 2003 - 22:58:59 EET