Hi Steve, I tried to convert from a MIDI CC (0-127) Signal to a Pitch Bend (-8192 to +8128).
However, I like to simulate the pitch wheel which is normaly on the keyboard.
I could not figure out how to do it. I ask for help please. Thanks!
Hi David,
Please find the attached. Please realize that since a CC is only 128 values and a pitch bend is 16384, that the control will not be as precise.
In the rules, I basically duplicate the least significant 7 bits into the upper 7 bits so that I still get full range of motion (although as I said, less precision).
// Shift into upper
tt=qq<<7
// OR with lower
tt=tt||qq
// then use tt for output to get a 14 bit value
CC-to-Pitch-Bend-2021-02-13.bmtp (1.0 KB)
Steve Caldwell
Bome Customer Care
Also available for paid consulting services: bome@sniz.biz
Thank for the help and for the file.
I was completly on the wrong way.