Mode Settings for LV2 Plugins
Created on 2022-06-14T22:03:23-05:00
- Create a control port to hold the value of the mode setting
- Use lv2:scalePoint to define the valid settings.
- Use lv2:enumeration property on a port to specify the value should be one of the scale points.
- Fail gracefully if a host is dumb and provides invalid values.
Hosts are encouraged to interpret the enumeration property to mean a drop-down menu should have the user select one of the scale points.