[LAD] Plugin buffer size restrictions

Fons Adriaensen fons at linuxaudio.org
Mon May 28 12:17:29 UTC 2012

On Mon, May 28, 2012 at 02:58:55AM +0300, Stefano D'Angelo wrote:
> (Maybe just for the record) I meant one version for sample accurate
> control (whether by accessing future values or by the host providing
> latency compensation) and another for live usage (virtually
> latency-free, but less accurate w.r.t. parameters).

How much filtering or interpolation a plugin needs to do in
order to avoid clicks, zipper noise or worse (e.g. instability)
depends on what the plugin does. And on how it does it: for most
functions you can have different algorithms that are absolutely
equivalent as long as the parameters are fixed but that behave
very differently when they change.

If there is any difference between the two scenarios you mention
it will be in the other sense: if the control data is played back
from storage it can be 'smoothed' before.

If the control input is 'live', that is from GUI events, MIDI,
OSC or HID it will always need some filtering. The question then
is if this is responsability of the host or of the plugin, or 


A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

More information about the Linux-audio-dev mailing list