Convert midi note to midi cc

0 votes
asked Oct 14, 2022 in Advanced by crispy-vinyl (130 points)

1 Answer

+1 vote
StreamByter is the short answer - the stand alone version, not what is built into the input or output stages of MDP2.

But to craft the correct code, need a few more answers.

A note on MIDI message has a note number and velocity.  A CC message has a CC number and value.  

1. Do you want to have the CC message include the velocity as a the Cc value, or just send the max value (127 or 7F)?

2. What is the mapping of note numbers to Ccs?  Note 60 = Cc 60, or something else?  

3. What do you want happen on note off (I am only guessing that the SPD sends note offs, not sure, and the manual has no MIDI implementation chart.  I had never thought about the role of note offs in drums, which essentially are just hits, so there is no real sustain time needed before a note off.)

example SB I code to map note on x to Cc x, Cc value fixed at 127

9X = BX XX 7F
answered Oct 17, 2022 by jkhiser (19,810 points)
Hi, and thanks for answering! Really appreciate it.

Hope this answers your questions (I'm rather new to midi). The note and channel from the drum pad can be changed, but right now it's note number 7 and it uses channel 10. I would like it to be converted and send to cc 115 on channel 1, with a value of 2. This should then make a change on the Voicelive 2.

If I understand it right, the drum pad has no sustain time.
99 07 = B0 73 02

9_ = note on, _9 = channel 10 (subtract one), 07 = note number
B_ = Cc, _0 = channel 1 (subtract one), 73h = 115d

A note value of 07 is interesting.  An 88 key board has MIDI note values from 21d to 116d, and many times the kick is two octaves below middle C (= 32d or 24h), for example.
...