[Devel] assigning MIDI CCs to lv2:ControlPort

David Robillard d at drobilla.net
Mon Jan 16 08:22:40 PST 2012

On Mon, 2012-01-16 at 13:26 +0800, Ricardo Wurmus wrote:
> Hi,
> I wonder what would be the preferred way to assign MIDI controllers to
> control ports. Currently, I hard-code MIDI controller numbers and
> respond to CCs internally, but this doesn't feel right. One problem is
> also that the host-generated GUI doesn't update its state when this is
> done.
> Does mapping MIDI CCs to plugin parameters actually belong to the
> host? If it should be done in the plugin, what is the preferred way to
> allow  users to modify the mapping? Could this be done in preset files
> for the plugin?

Hm?  Plugins can't set their own input port values!


More information about the Devel mailing list