Help! Translating a MIDI CC input to a Roland Sysex Message

Hi and welcome to the Bome community!

You can try the below but I have no way to test it.

I set up my aliases as follows. You will need to set them up for your devices.

You can learn more about aliases from this tutorial.

Input is CC1 from on MIDI CH 6 as you requested.

The rules calculate the checksum as follows. We also log an error if it is out of bounds

if qq>3 then Log "Log value cannot be greater than 3 value is %qq%"
if qq>3 then exit rules, skip outgoing action

// First data item 
rr=2
// 0x4d
rr=rr+77
// ox r
rr=rr+76
// ox44
rr=rr+68
//0x3a
rr=rr+58
// value of qq+0x30 
rr=rr+qq
rr=rr+48
// 0x3b Last data item
rr=rr+59
// Get remainder
rr=rr%128
//Subtract from 128
rr=128-rr
// rr is now the checksum


// add 0x30 to qq
qq=qq+48


Log "Log Value=%qq% checksum is %rr% or 0x%02X rr%"

I build the outgoing message as a raw MIDI message from the information you provided.

F0 41 10 00 00 4F 12
// command string
02 4d 4c 44 3a qq 3b 
// checksum
rr 
// end
F7

Roland-MVS12-SysEX.bmtp (1.6 KB)

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz