Tomer Harari
2008-07-06 09:21:21 UTC
Hi,
I am trying to use 14 bit CC option from my Behringer BCR controller.
After setting up the device to send 14 bit cc, I am using a CCResponder to
grab the incoming midi infromation.
14 bit Control change message is actually two 7 bit midi messages,
One on CC numbers 0 - 31 (MSB), and another on CC numbers 32 - 63 (LSB)
respectively.
So when sending 14 bit CC on channel 2 i get :
[ 618189095, 1, 1, 0 ] // 0 is the MSB
[ 618189095, 1, 33, 81 ] // 81 is the LSB
My question is how do i add these two data bytes together so they form one
number in the range of 0 - 16,385 and not two numbers in the range of 0 -
127?
Thanks,
Tomer
--
View this message in context: http://www.nabble.com/14-bit-CCResponder---adding-bytes-tp18300199p18300199.html
Sent from the Supercollider - User mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
I am trying to use 14 bit CC option from my Behringer BCR controller.
After setting up the device to send 14 bit cc, I am using a CCResponder to
grab the incoming midi infromation.
14 bit Control change message is actually two 7 bit midi messages,
One on CC numbers 0 - 31 (MSB), and another on CC numbers 32 - 63 (LSB)
respectively.
So when sending 14 bit CC on channel 2 i get :
[ 618189095, 1, 1, 0 ] // 0 is the MSB
[ 618189095, 1, 33, 81 ] // 81 is the LSB
My question is how do i add these two data bytes together so they form one
number in the range of 0 - 16,385 and not two numbers in the range of 0 -
127?
Thanks,
Tomer
--
View this message in context: http://www.nabble.com/14-bit-CCResponder---adding-bytes-tp18300199p18300199.html
Sent from the Supercollider - User mailing list archive at Nabble.com.
_______________________________________________
sc-users mailing list
info (subscribe and unsubscribe): http://swiki.hfbk-hamburg.de:8888/MusicTechnology/880
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/