Re: [linux-audio-dev] LADSPA plugin parameters realtime control

From: fons adriaensen <fons.adriaensen@email-addr-hidden>
Date: Sun Jul 10 2005 - 12:33:43 EEST

On Sat, Jul 09, 2005 at 11:30:01PM +0300, Artemio wrote:

> Okay, I now understand the situation but I really think there should
> be some development in this area. Interpolation is fine but only for
> linear modulation as you guess, and knob/slider tweaks are never
> linear, and what about complex-form LFOs?

I don't really think there is a problem here. Even with a period size
of 1024 you have about 40 values per second, and this should be enough
to capture all there is in a knob or slider tweak. And as Paul and
others have already pointed out, a LADSPA host can subdivide the
period at arbitrary points and modify a parameter at exactly the
right time.

If you really want to capture the *exact* waveform of a slider
move, there are other complications. You should then use the
timestamps provided by X on the motion events and reconstruct
the exact movement from the (t, x) values. I've not yet seen
any situation where such a thing is necessary.

If the modulation source is not a widget but an LFO or ENV, then
you can use an audio rate input. This doesn't mean the real
control has to be at audio rate internally. For example, all
my 'synth module' plugins subsample their modulation inputs
at 1/16 of the audio rate, and interpolate linearly. This
still gives a modulation bandwidth of at least 1 kHz. It
all depends on the nature of the plugin if such tricks are
interesting or not.

-- 
FA
Received on Sun Jul 10 16:15:20 2005

This archive was generated by hypermail 2.1.8 : Sun Jul 10 2005 - 16:15:21 EEST