Control Windows 10 Volume with Midi Volume Pedal VOX Tonelab

  • Forum
  • [RESOLVED] Control Windows 10 Volume with Midi Volume Pedal VOX Tonelab
0
0

Good afternoon,

Very novice midi musician here. I am using an old VOX ToneLab and Bome MIDI to control keystrokes that start and stop play of Band In A Box. This is working great. Since I have a volume controller on my VOX Tonelab, I want to try and control my Windows 10 volume with my pedal. I am able to see the “Raw MIDI Message” but I don’t know how to ocmplete the Bome translator data. Any help would be appreciated. Thanks

RESOLVED
Marked as spam
Posted by (Forum: 2, Answers: 5)
April 21, 2020 3:05 am
42 views
0
Private answer

Hi,

In order to help you, I will need to see a log of all incoming SysEx message from your volume pedal.

Start at full up the clear the log window. Set up your log window for MIDI IN only

Press you volume pedal all of the way down. Then copy and paste the entire contents into a text file and post it.

 

In general what we will be doing converting the absolute data in relative volume up and volume down outgoing key strokes for Windows 10.  I'm just unsure how your controller constructs the Sysex message. Most controllers just use a CC message.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

Marked as spam
Posted by (Forum: 50, Answers: 5092)
April 21, 2020 3:20 am
Steve, I loaded in your attachment. I'm getting solid information in the Log Window, however the volume control on the PC is not changing. Although ignorant, I'm wondering if the calculations are correct.
( at April 21, 2020 6:49 pm)
Entirely possible. First make sure that MT Pro is not focused when trying the project. If it is, open the log window. Check MINI IN Incoming and Outgoing then try again and paste the log file. Steve
( at April 21, 2020 7:14 pm)
Steve, Your suggestion worked. It is working like a charm now. Thanks for the excellent and responsive support. Best support I can remember receiving. Take care and stay safe!
( at April 21, 2020 8:15 pm)
Great happy music to you and stay safe! Steve
( at April 21, 2020 9:00 pm)
0
Private answer

Steve,

Thank you for the quick support! Really excited about the MIDI translater! Thanks. Please see the requested attachment. Thanks in advance.

Marked as spam
Posted by (Forum: 2, Answers: 5)
April 21, 2020 4:48 am
0
Private answer

OK, I think I get it.

The last two digits before end of Sysex message look like they are MSB and LSB of the value or location of the pedal.

F0 42 30 6D 08 41 06 00 pp qq F7

If I'm right pp is the most significant byte (MSB) and qq is the least significant byte (LSB).

So we combined the to a single value and compare with the last known value (from the last iteration) which we store in a global variable ga.

If the new value is greater than the last known value we send keystroke volume up.

If the new value is less than the last known value we send keystroke volume down.

If the value has not changed, we send neither.

Each translator only executes the keystroke if it belongs to itself otherwise it skips and lets the other translator handle it.

Here are the rules for combining pp (MSB) and qq (LSB) into a single varuable

rr=pp<<7

rr=rr|qq

Then we compare with the last known value. Look at the rules for each of the two translators for more information. Hopefully I got the calculations and the evaluation of the Sysex correct.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

 

 

Marked as spam
Posted by (Forum: 50, Answers: 5092)
April 21, 2020 4:59 am
  • Forum
  • [RESOLVED] Control Windows 10 Volume with Midi Volume Pedal VOX Tonelab