Here is the patch for my latest build version. There are loads of changes here. I've tried to include a lot of comments.
- It has a modular output function and optional verbosity level of output.
- It has pitch bend handling with 5% tolerance seems to work well for me. Behaves strangely sometimes, needs some sanity check to the pitch range.
- The VB99 (maybe other older Roland products too?) only have a +/- 12 semitone pitch bend range this means that a hammer of 1 fret was showing as 2 frets when compared to the GR55. Now there is an option to switch between 12 or 24 semitone range.
Loads of other small coding changes too. Some of the variable names have also changed in order to make them more general and match the midi documentation on http://www.midi.org/techspecs/midimessages.php#3
Patch file against SVN checkout v41