I have a message for interested people. I just wrote a plugin to work MB with MIDI controllers. It is a simple plugin that allows you to control basic MB functions (play/pause, stop, next track, prev track, loop) using MIDI commands. You can also define MIDI commands that MB should send back in case of notification events in the app. This allows, for example, to turn on and off the LEDs in the controller. I'm using it with Behringer X-Touch mini controller. I can send the dll file if anyone is interested.