Hi, I don’t mind helping but cannot spend time developing your entire project.
I’ve given you several examples that you should be able to apply similar methodology that you can analyze and adjust for your purposes but if you need me to provide complete solutions for you, then perhaps you should contract this to me (for fee). I can be reached at bome@sniz.biz. This would be for my services as an independent developer.
The approach is the same for each of your requests
1 ) Look at sysex messages coming in
2) Analyze what is different from the messages to get a pattern
3) Use the pattern to convert to numbers (for cc output)
4) Apply rules to get the right start, end numbers and scaling
5) Use the output as a value for your target cc
In your case the patter MSB and LSB gets converted into a number.
This numbers numbers and ranges are adjusted to achieve 0-127 output for the target controller
Regards,
Steve