Expose UI views as daw/midi controllable parameters

Since switching from e.g. the amp section to the pre fx is just a UI change, currently there is no midi support for it.

It would be nice to be able to “midi learn” the current view so that it can be controlled with a hardware device. I use my midi keyboard to tweak plugin parameters, and being able to switch views can help with workflow:

  1. Seeing what you are doing without reaching for the mouse.
  2. Compartmentalize knobs and buttons to specific UI layouts so that the same knobs and buttons could control different parameters depending on the layout (Reaper + Relearn).

I feel like it should be relatively easy to implement, as it’s just associating a midi message with a UI flag/interaction.