How do I send a CC MSB and LSB message to Matriarch?

Mother-32, DFAM, Subharmonicon, Grandmother, Matriarch
Post Reply
oor
Posts: 2
Joined: Tue Apr 18, 2023 10:40 am

How do I send a CC MSB and LSB message to Matriarch?

Post by oor » Fri Apr 21, 2023 4:06 pm

I am new to MIDI CC.
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)
Is this correct?

The Matriarch responds seemingly kind of OK :-) to the message, but now I then I hear some irregularities which make me a bit unsure.

Post Reply