Re: [LAU] LADSPA processing time for audio zeroes

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sat Mar 28 2009 - 19:56:26 EET

On Sat, Mar 28, 2009 at 05:09:12PM +0100, Nigel Henry wrote:

> Your not experiencing a denormals problem perhaps with the plugins? Googling
> denormals bring up some interesting hits on the first page. May be worth a
> look if that is the problem.

In general, zero input is a signal just like any other,
processing should go on. It does not automatically imply
that the output should be zero. Filters will continue to
produce non-zero output after a signal has stopped, for
some time. An IIR filter will decay to zero exponentially.
This is usually also the point where denormals will be
generated.

Some plugins could be made to simplifiy their processing
when given zero inputs for a long enough time. The logic
required to do this could be worse than the problem it
tries to solve.

A similar problem exists with DSP code that interpolates
its control parameters to avoid clicks or zipper noise:
the logic required to optimise the constant control value
case can become quite complicated in some cases.

The only place where avoiding zero inputs is likely to
pay off is a polyphonic synth patch, but even here it
would require some logic - notes usually don't end on
a MIDI note-off. When to stop a particular voice would
depend very much on the patch details.

Ciao,

-- 
FA
Io lo dico sempre: l'Italia è troppo stretta e lunga.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sat Mar 28 20:15:05 2009

This archive was generated by hypermail 2.1.8 : Sat Mar 28 2009 - 20:15:05 EET