Philosophy

There are no "best" ways to map an arbitrary MIDI controller for controlling Ardour. There may be very legitimate reasons for different users to prefer quite different mappings.

Basics

  1. Enable Generic MIDI control: Edit > Preferences > Control Surfaces > Generic MIDI
  2. Connect Ardour's MIDI port named control to whatever hardware or software you want (using a MIDI patchbay app)
  3. Middle-click on whatever on-screen fader, plugin parameter control, button etc. you want to control
  4. A small window appears that says "Operate Controller now"
  5. Move the hardware knob or fader, or press the note/key.
  6. The binding is complete. Moving the hardware should control the Ardour fader etc.

There's a complication to this story, however. You cannot use MIDI learn with the GUI provided by the plugin. This is true no matter what the plugin format or platform is. When we refer to "whatever on-screen fader ..." above, we are referring to an “Ardour-owned” control of some sort. You can get access to that in one of 3 ways:

You can’t just “click the GUI” because the plugin owns the GUI, and cannot (and should not) be a part of the MIDI learn process.

Cancelling a Learned MIDI Binding

To unlearn a learned MIDI binding, Middle-click on the control in the same way as you did to learn it in the first place, but click on the popup to cancel it.

Avoiding work in the future

If you want the bindings you set up to be used automatically in every session, the simplest thing to do is to use Session > Save Template. Then, when creating new sessions, select that template and all the bindings will be automatically set up for you.