[LAD] LADSPA extension for periodic control values?

David Robillard dave at drobilla.net
Mon Jun 15 21:08:30 UTC 2009


On Mon, 2009-06-15 at 18:28 +0200, Stefano D'Angelo wrote:
> 2009/6/15 David Robillard <dave at drobilla.net>:
> > On Sun, 2009-06-14 at 23:44 +0200, Stefano D'Angelo wrote:
> >> 2009/6/13 Jörn Nettingsmeier <nettings at folkwang-hochschule.de>:
> > [...]
> >> > sorry if this has been discussed before, but i didn't find anything in
> >> > the archives...
> >> > consider the case of periodic control values of LADSPA plugins, for
> >> > instance the azimuth in a horizontal panner or the phase shift in a phaser.
> >> > currently, they are usually marked as BOUNDED_BELOW and BOUNDED_ABOVE,
> >> > but the host has no way of knowing that the upper bound is next to the
> >> > lower bound, so that it can chose the shortest path to the next value
> >> > when interpolating automation control points.
> > [...]
> >> * An LV2 extension would allow you to do that quite easily in LV2,
> >> which is probably preferable these days.
> >
> > Maybe belongs in the units extension?
> 
> I don't think so: periodicity and units are quite different things.
> For example: an angle could be used also to indicate direction (-180°
> != 180°) or distance in space (0° != 360°), while integers for example
> could be cyclic (rhythms, tones/semitones/harmony, musical cycles,
> etc.)...

Sounds an awful lot like units to me... "degrees out of 360" is a cyclic
unit

-dr





More information about the Linux-audio-dev mailing list