[LV2] Nonlinear value mapping of control ports

Hanspeter Portner dev at open-music-kontrollers.ch
Sun Aug 19 07:34:39 PDT 2018

On 8/19/18 10:11 AM, Dominique Würtz wrote:
> Hi,
> I've just started to look into porting some of my VST2 plugins to LV2.
> One thing I couldn't figure out so far is how to specify a custom non-
> linear value mapping for a control port. To me it seems LV2 only offers
> linear and logarithmic scaling. In my plugins, some controls use a
> exponential-like scaling curve with a custom mid point. Can I do this
> with LV2?

Only linear and exponential, iirc, yes.

Why not just use a linear proxy control than maps to your real internal
exponential control ?

More information about the Devel mailing list