I would like to send pitch bend signals via scripting. I was able to find
this thread on another forum, which should be everything that I need spare my general ignorance towards the nuts and bolts of general midi programming. (The whole MSB/LSB thing has me confused)...
Basically, I have a pair of faders, Coarse and Fine, that combine to make a value between 0 and 1, and I want to interpolate this value (pitchControlX) into a pitch bend message.
- PitchControl.png (14.45 KiB) Viewed 4071 times
I would like to cannibalize these settings into the code:
- PitchBendSettings.png (9.11 KiB) Viewed 4071 times
According to the thread linked above, the target for pitch bend is 224... but what do I do for x and y in this snippiet?:
I know a quick work around would be to map pitchControlX into a third, invisible fader, and then set the pitch bend midi signal with the GUI as per the second photo, but this object is going to be re-used and I would like to be able to set a variable to control the midi channel...
Thanks