There are two “virtual” knobs so I can assign their actions separately according to the two different midi cc values Cubase receives.
If what I’m trying to do is possible, are there any examples I can refer to?
You can look at my script here where I mapped a rotary encoder to Jog Left/Right.
You would have to tweak it to suit your needs but perhaps it can serve as a starting point.
thanks again for this, I managed to make the necessary changes to do what I need.
quick clarification, though. why is the condition “value” > or < than 0.5 rather than something within the midi cc value range? ie value > 64 or value < 64?
@owenc The comparison is inside the .mOnProcessValueChange callback function which is triggered by Cubase.
Internally, Cubase converts all values to unit intervals, a floating point value between 0 and 1, which is what the parameter value is.