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