[LV2] Changing control port label at run-time

Stefan Westerfeld stefan at space.twc.de
Sat Jan 4 09:38:41 PST 2020


   Hi!

Is there a way to change the label for a LV2 control port at runtime? It
seems that VST plugins can do this.

The reason I'm asking is that my liquidsfz library has a LV2 plugin. In
general there would be 128 controllable parameters, but depending on the
SFZ file loaded, only some of these would have any effect at all. In the
SFZ file there can be labels for the controllable parameters. So in LV2
ideally I'd have control0 .. control127, but the label of controlN could
be set to a label from the SFZ file. This is also what the proprietary
sforzando windows VST does.

This would improve the usability (for automation and such) quite a bit
over just having static labels for the generic controls.

   Cu... Stefan
-- 
Stefan Westerfeld, http://space.twc.de/~stefan


More information about the Devel mailing list