Scaling Mackie MCU LED rings back to absolute values

Thank you Steve for your invaluable help, this was the key to the first step of the problem. I hope you could help shed some light on the final piece of this puzzle, I have been struggling to find the solution:

Your example allowed the controller encoders to operate the software encoders well. I believe due to the nature of the Mackie protocol, the software encoders are stepping by 5’s. From what I can tell that’s just the way it is. If I use the mouse to turn the encoders, I get fine control (steps by 1).

The controller encoders have 15 LEDS that are attached to local control, meaning they will illuminate as I rotate the encoder from 1-127 all on their own, but they can also change if I send the appropriate message:

*PRO CONTROL ENCODER OUTPUT*
B0 0A 05 = LED 1
B0 0A 0D = LED 2
B0 0A 16 = LED 3
B0 0A 1E = LED 4
B0 0A 27 = LED 5
B0 0A 2F = LED 6
B0 0A 38 = LED 7
B0 0A 40 = LED 8 CENTER
B0 0A 48 = LED 9
B0 0A 51 = LED 10
B0 0A 59 = LED 11
B0 0A 62 = LED 12
B0 0A 6A = LED 13
B0 0A 73 = LED 14
B0 0A 7B = LED 15

Below is the software encoder output from fully counterclockwise to fully clockwise (L100 to R100). The output shows many repeated messages even though I am continuing to rotate the software encoder with the mouse. There are only 11 messages sent from the software encoder total:

55954783 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955024 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955144 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955263 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955343 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955464 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955644 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55955824 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956063 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956204 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956324 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956404 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956524 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956644 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956764 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956884 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55956944 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55957024 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55957104 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
55957184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55957304 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55957404 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55957544 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55957704 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55957844 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55957984 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55958144 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55958284 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55958383 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55958623 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55958824 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55958944 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55959084 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55959283 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55959403 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55959603 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55959784 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55959963 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55960124 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
55960283 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55960464 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55960564 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55960664 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55960804 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55960904 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55961044 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55961204 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55961384 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55961663 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55961804 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55961903 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962044 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962164 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962284 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962404 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962503 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962623 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962703 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962784 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
55962884 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55962983 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963084 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963224 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963384 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963484 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963624 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963764 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963864 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55963983 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964124 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964244 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964404 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964543 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964644 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964744 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55964923 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55965084 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55965243 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55965424 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
55965584 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55965704 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55965863 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966023 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966143 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966304 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966483 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966604 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966723 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966843 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55966984 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967104 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967204 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967304 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967404 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967484 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967624 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967744 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967904 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55967964 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
55968064 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968304 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968404 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968504 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968644 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968724 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968844 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55968964 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969084 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969264 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969384 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969484 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969604 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969704 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55969784 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55970044 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55970203 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55970383 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
55970504 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55970604 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55970724 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55970844 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55970924 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971063 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971244 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971364 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971464 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971624 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971704 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971783 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55971943 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972064 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972304 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972424 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972523 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972664 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
55972784 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55972904 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973044 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973144 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973244 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973344 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973444 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973564 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973664 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973784 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973864 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55973984 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974084 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974204 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974284 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974364 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974484 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974604 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974724 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55974904 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
55975004 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975123 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975224 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975323 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975424 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975564 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975684 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975784 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975884 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55975984 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976104 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976224 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976324 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976464 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976623 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976764 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55976884 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55977024 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55977164 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55977264 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
55977364 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55977504 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55977624 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55977744 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55977884 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978004 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978124 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978244 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978344 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978483 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978583 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978683 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978824 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55978944 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979023 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979144 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979244 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979364 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979443 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979524 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
55979644 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0B

My attempt was to take the software encoder (B0 30 xx) messages and send them back to the hardware encoder/LEDs (B0 0A xx) to match their illumination to the software encoders relative position, either by rotating the hardware encoder or software encoder. I am getting feedback issues and tried global variables with ‘if/then exit rules, skip Outgoing Action’ with no luck, not to mention I am fighting the hardware encoders local control while it tries to light the LEDs of the encoder on it’s own. The software encoder is all over the place if I try to send back messages for LED control.

I attempted to create an incoming trigger from the hardware encoder and translate it, and send it straight back to itself but also didn’t work as the software encoder is getting all sorts of different messages, jumping around like crazy.

So you are wanting your software to send back LED ring information? Yes, the Mackie protocol only allows for 12 values I believe to be sent back. You can review this tutorial on scaling to scale from 12 (0-11) values back to 128 (0-127) values for your controller to display the proper LED ring state.

I also created this as a new topic since it was different than your original request.

Steve Caldwell
Bome Customer Care


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

Great thank you, I was not aware of the scaling option. This is allowing the hardware LEDs to match the software encoder position as expected.

[ ] Translator 1.2: Pan LED Feedback
Options: swallow
Incoming: MIDI B0 30 qq, on port Bome Virtual Port 1
Rules:
  //multiply input value by output range
  pp=qq*12
  //now divide by input range
  qq=qq/128
  //now lets add the offset qq should be your target output value
  qq=qq+20
Outgoing: MIDI B0 0A pp, to port V-Control Midi Mode

The issue I guess I am trying to solve is that when the LED feedback translator is enabled, the hardware to software encoder translator no longer functions properly, the software encoder is not stepping by 5s and will get hung up if not fully rotated counter clockwise:

[x] Translator 1.0: Pan Send To RME
Options: swallow
Incoming: MIDI qq 0A pp, on port V-Control Midi Mode
Rules:
  if qq==176 then rr=16
  if qq==177 then rr=17
  if qq==178 then rr=18
  if qq==179 then rr=19
  if qq==180 then rr=20
  if qq==181 then rr=21
  if qq==182 then rr=22
  if qq==183 then rr=23
  
  if qq<=175 then exit rules, skip Outgoing Action
  if qq>=184 then exit rules, skip Outgoing Action
  
  // Positive Movement
  if pp>ga then tt=pp-ga
  // Negative Movement
  if pp<ga then tt=ga-pp
  if pp<ga then tt=tt|64
  // lower end
  if pp==0 then tt=65
  //higher end
  if pp==127 then tt=1
  
  //update for next iteration
  ga=pp
  // no higher than 127
  if ga>127 then ga=127
  // no lower than 0
  if ga<0 then ga=0
  //Log "Log outgoing value is 0x%02x tt%"
Outgoing: MIDI B0 rr tt, to port Bome Virtual Port 1

Hardware to software encoder w/o LED translator:

59693038 - MIDI IN [V-Control Midi Mode]: B0 0A 01
59693038 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59693044 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
59693347 - MIDI IN [V-Control Midi Mode]: B0 0A 02
59693347 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59693364 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
59693547 - MIDI IN [V-Control Midi Mode]: B0 0A 03
59693547 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59693564 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
59693717 - MIDI IN [V-Control Midi Mode]: B0 0A 04
59693717 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59693724 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
59694046 - MIDI IN [V-Control Midi Mode]: B0 0A 05
59694046 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59694064 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
59694245 - MIDI IN [V-Control Midi Mode]: B0 0A 06
59694245 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59694264 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
59694445 - MIDI IN [V-Control Midi Mode]: B0 0A 07
59694445 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59694464 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 02
59694635 - MIDI IN [V-Control Midi Mode]: B0 0A 08
59694635 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59694643 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
59694815 - MIDI IN [V-Control Midi Mode]: B0 0A 09
59694815 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59694824 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
59695004 - MIDI IN [V-Control Midi Mode]: B0 0A 0A
59695004 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59695024 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
59695164 - MIDI IN [V-Control Midi Mode]: B0 0A 0B
59695164 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59695184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 03
59695335 - MIDI IN [V-Control Midi Mode]: B0 0A 0C
59695335 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59695343 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
59695535 - MIDI IN [V-Control Midi Mode]: B0 0A 0D
59695535 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59695544 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
59695743 - MIDI IN [V-Control Midi Mode]: B0 0A 0E
59695743 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59695744 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
59695955 - MIDI IN [V-Control Midi Mode]: B0 0A 0F
59695955 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59695964 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
59696222 - MIDI IN [V-Control Midi Mode]: B0 0A 10
59696222 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59696224 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
59696493 - MIDI IN [V-Control Midi Mode]: B0 0A 11
59696493 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59696503 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
59696673 - MIDI IN [V-Control Midi Mode]: B0 0A 12
59696673 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59696684 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
59696982 - MIDI IN [V-Control Midi Mode]: B0 0A 13
59696982 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59696984 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
59697141 - MIDI IN [V-Control Midi Mode]: B0 0A 14
59697141 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59697143 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
59697261 - MIDI IN [V-Control Midi Mode]: B0 0A 15
59697261 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59697264 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
59697431 - MIDI IN [V-Control Midi Mode]: B0 0A 16
59697431 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59697444 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
59697611 - MIDI IN [V-Control Midi Mode]: B0 0A 17
59697611 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59697624 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 06
59697800 - MIDI IN [V-Control Midi Mode]: B0 0A 18
59697800 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59697804 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
59697911 - MIDI IN [V-Control Midi Mode]: B0 0A 19
59697911 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59697923 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
59698080 - MIDI IN [V-Control Midi Mode]: B0 0A 1A
59698080 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59698084 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
59698210 - MIDI IN [V-Control Midi Mode]: B0 0A 1B
59698210 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59698224 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 07
59698370 - MIDI IN [V-Control Midi Mode]: B0 0A 1C
59698370 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59698384 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
59698539 - MIDI IN [V-Control Midi Mode]: B0 0A 1D
59698539 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59698543 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
59698679 - MIDI IN [V-Control Midi Mode]: B0 0A 1E
59698679 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59698684 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
59698799 - MIDI IN [V-Control Midi Mode]: B0 0A 1F
59698799 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59698804 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
59698989 - MIDI IN [V-Control Midi Mode]: B0 0A 20
59698989 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699004 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
59699178 - MIDI IN [V-Control Midi Mode]: B0 0A 21
59699178 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699184 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
59699318 - MIDI IN [V-Control Midi Mode]: B0 0A 22
59699318 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699324 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
59699477 - MIDI IN [V-Control Midi Mode]: B0 0A 23
59699477 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699483 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
59699657 - MIDI IN [V-Control Midi Mode]: B0 0A 24
59699657 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699663 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
59699788 - MIDI IN [V-Control Midi Mode]: B0 0A 25
59699788 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699804 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
59699928 - MIDI IN [V-Control Midi Mode]: B0 0A 26
59699928 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59699944 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
59700097 - MIDI IN [V-Control Midi Mode]: B0 0A 27
59700097 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59700104 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0A
59700336 - MIDI IN [V-Control Midi Mode]: B0 0A 28
59700336 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59700344 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0B
59700536 - MIDI IN [V-Control Midi Mode]: B0 0A 29

Hardware to software encoder with LED translator:

59822702 - MIDI IN [V-Control Midi Mode]: B0 0A 01
59822702 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 01
59822704 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 01
59822704 - MIDI OUT [V-Control Midi Mode]: B0 0A 0C
59823280 - MIDI IN [V-Control Midi Mode]: B0 0A 0D
59823280 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 0C
59823284 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 04
59823284 - MIDI OUT [V-Control Midi Mode]: B0 0A 30
59824119 - MIDI IN [V-Control Midi Mode]: B0 0A 31
59824119 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 24
59824124 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 05
59824124 - MIDI OUT [V-Control Midi Mode]: B0 0A 3C
59824938 - MIDI IN [V-Control Midi Mode]: B0 0A 3D
59824938 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 0C
59824944 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 08
59824944 - MIDI OUT [V-Control Midi Mode]: B0 0A 60
59825946 - MIDI IN [V-Control Midi Mode]: B0 0A 61
59825946 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 24
59825964 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 09
59825964 - MIDI OUT [V-Control Midi Mode]: B0 0A 6C
59826955 - MIDI IN [V-Control Midi Mode]: B0 0A 6D
59826955 - MIDI OUT [Bome MIDI Translator 1 Virtual Out]: B0 10 0C
59826963 - MIDI IN [Bome MIDI Translator 1 Virtual In]: B0 30 0B
59826963 - MIDI OUT [V-Control Midi Mode]: B0 0A 84

This might have to do with how your encoder handles MIDI feedback from the host application. If the LED rings are not separated from the value of the encoder, then the encoder value might change and break the hardware to SW function. What controller do you have? Is there a way to update the LED rings without changing the hardware encoder value?

Steve Caldwell
Bome Customer Care


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

I am using a Digidesign Pro Control that is interfaced with V-Control Pro. It has a Midi Mode which allows you to use it as a generic midi device, however the output messages for buttons, fader and encoders are hard coded.

The encoder LEDs and the encoder itself are tied together, so as I am sending the hardware encoder a B0 0A xx message to change the LEDs, that is the same message the encoder outputs when turned.

I suppose that is why I am getting a feedback loop as the hardware receives a message, it is spitting it back to the software. In my mind I was thinking the only way to work around this would be to ignore/skip the outgoing action of HW → SW when SW → HW is occurring, and vice versa, but I haven’t successfully figured this out yet.

Yes, you probably need to:

  1. Disable application feedback while moving the hardware encoders.
  2. Disable hardware output when you are sending MIDI feedback from the application.

You can one shot timers to do both, maybe just one shot timer for application feedback when moving the hardware encoders, and then re-enable application feedback when they are not being turned. Of course accuracy of application feedback will not be very accurate.

Steve Caldwell
Bome Customer Care


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

The following should work for you. I added the additional 8 VPOTs. I set your incoming CC to MIDI CH 1-16 all with CC 10. I added global variables that include g0-gf for VPOT values. I moved the ga busy flag to ha.

If you incorporate this into your project you may need to change the variables for something that you are not using.

You can test this and if you want me to incorporate into your current project, it will be handled as a paid service.
Generic–to-MackieMCU-VPOT.bmtp (6.1 KB)

Here is how my aliases are set up:

Steve Caldwell
Bome Customer Care


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