OK, so the code is up and running, and from the looks of it for every movement two midi messages are generated. Im not entirely sure the scaling part accurately adjusts the value correctly but at the moment thats not my primary concern. In the mios studio software i can see the two messages being generated which look something like:
b0 12 LSB
b0 44 MSB
( both messages are generated for each movement of the POT/Fader)
However DJ mixing software such as mixx or Traktor, do not see the messages as a 2 part 14 bit message. Both seem to take the first message as coming from CC12 and not understanding that its a 2 part message. Therefore only interpreting the data as 7bit. The latest version of Traktor PRO supposidly has support for 14 bit midi devices so im left pondering. Is the data being correctly sent as a 14bit message? or do these programs not strictly adhere to the midi protocol, and therefore don understand that CC12 followed by CC44 is a 14 bit payload?
For those that maybe reading this thread, you may find this website of help:
http://www.midi.org/techspecs/midimessages.php
Its the Technical specification for what values represent in a midi data packet.
You'll see in table 2 "b0" refers to "Chan 1 Control/Mode Change " (you can choose any channel that you want)
Then refer to table 3: this byte represents the function of the control change. in our example "12" is "Effect Control 1" and "44" is "LSB for Control 12 (Effect control 1) "
If anyones worked with any of these programs and has some input i would greatly apreciate it.
Thanks. Ash