Binary package “qmidiroute” in ubuntu trusty

a MIDI event router and filter

 MIDI note, control change,program change and pitch bend events
 are logged, and can be filtered, redirected and transformed
 into other events according to MIDI maps defined as tabs
 in the main control surface.
 .
 You can copy midi MAPS into new tabs using the 'Clone MIDI map' button.
 All MIDI maps can be saved in a .qma text file.