@willmodelisme
This is very cool and I’m glad you managed to get it going, but concerned about your comment that there is not so much about NRPN in the CQ MIDI protocol document.
It does have every NRPN for the CQ listed and explanations and examples for every type of message, so please let me know what else would help?
I did notice that you’re using decimal representations of the NRPNs though, and the document uses hex, is that the issue?
If so, to get to the decimal number:
– Take the MSB from the protocol doc
– Convert this from hex to decimal
– Multiply it by 128 (because NRPN is made up of two 7bit values for 128×128 possible values, where every time the LSB goes over 128 it resets and the MSB ticks over once)
– Convert the LSB from the protocol to decimal and add this to the MSB value
So for input channel 2 level to main LR for example, it should be
NRPN (hex) = 0x40 0x01
0x40 = 64
64*128 = 8192
0x01 = 1
8192+1 = 8193
Thanks,
Keith.