Problem:
I want to set glide time to 15039. I read in my Moog Matriarch manual that to tell my synth to set a Glide Time, I have to use the MSB CC Number 5 and the LSB CC Number 37 and a value between 0 and 16383.
The way I am doing it right now is:
Code: Select all
ccLsb = 37
ccMsb = 5
value = 15039
lsbValue = (value & 0x7f)
msbValue = (value >> 7) & 0x7f
<send CC MIDI message>(ccLsb, lsbValue)
<send CC MIDI message>(ccMsb, msbValue)
The Matriarch responds seemingly kind of OK to the message, but now I then I hear some irregularities which make me a bit unsure.