Here's an example script you can try, more functions can be added.
Install www.autohotkey.com then set C:\Program Files\AutoHotkey\AutoHotkey.exe to Run As Administrator by right click > Properties > Compatibility.
When you close the GUI it will be still running in the tray "H" right click to close.
You can preset the defaults in the script.

Download AHK_Midi2Keypress.zip
Unzip anywhere or C:bb\Scripts\AHK_Midi2Keypress
Run Midi2Keypress_1.0.ahk


Watch https://www.dropbox.com/s/hn8n2pnuy3laep8/MidiToBiabFunctions.mp4?dl=0