From: Fons Adriaensen <fons(a)linuxaudio.org>
Subject: Re: [LAD] Plugin buffer size restrictions
On Mon, May 28, 2012 at 06:05:20PM +0300, Stefano
D'Angelo wrote:
IMO it's easily said: if control rate <
audio rate it's plugin's
responsibility, otherwise the host feeds upsampled/filtered control
signals at audio rate to the plugin and all problems evaporate...
The don't evaporate, they explode.
Take a filter plugin. Calculating the actual filter coefficients from
the 'user' parameters (frequency, gain, etc..) can easily be
10..1000 times more complex than actually using those coefficients to
process one sample. So you really don't want to do that at the audio
sample rate.
True, But with synths at least, recalculating the filter at audio rate is
routine these days. Admittedly we are pre-calculating the full range of
coefficients in advance.
You do get *very* nice filter sweeps and blips at full audio-rate
modulation.
Best Regards,
Jeff