This is a little Ardour Lua DSP script I put together for remapping arbitrary MIDI notes in real time. I wanted to post it here in case it’s useful to anyone else. Maybe I was using the wrong search terms, but I wasn’t able to find anything equivalent and free.
The script is on my GitHub here. To install, just put it in the Lua script directory and (re)start Ardour. (On Mac, that folder is
You can map any MIDI note to any other. Polyphonic aftertouch should also be remapped, though I didn’t test that. Timing and velocities are unaffected, and all other MIDI data is passed through untouched. By default it allows up to 10 remappings; just change
N_REMAPINGS in the code if you need more.
Hopefully someone finds this useful.