Control Windows 10 Volume with Midi Volume Pedal VOX Tonelab

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


Attachments:
1587431063922_BandInABox_Controls.bmtp

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

 

Steve,

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


Attachments:
1587437304825_VOX_TonelabSE_VolumePedal.txt

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

 

 

 


Attachments:
1587437937844_BandInABox_Controls-sjc.bmtp

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.

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

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!

Great happy music to you and stay safe!

Steve