MSB LSB PGM through Bome

Hello everyone,

I would like to send BankSelect commands from a Korg Nano Pad to my Yamaha MODX.

The MODX receives MSB, LSB, and PGM values.
Unfortunately, I can’t find a way to send these three values simultaneously in Bome MIDI Translator Pro.

Could someone quickly help me with the correct settings for ‘Outgoing’?
I’m an absolute beginner when it comes to MIDI.

Thank you very much for your help!

Hi and welcome to the Bome community!

Yes, currently we use bank change to handle a PC change with Bank change, however the input format is the MSB and LSB combined with takes a bit of calculation. In the attached example, I put the calculation method in the rules of the translator.

First of all I used aliases as follows:

You can learn more about aliases from this tutorial.

The rules for combining MSB and LSB are in the rules of translator 1.0 which converts a note message to Bank and program change. Simply substitute the values of pp and rr for the values that you wish.

// Put MSB Here
pp=23
// Put LSB Here
rr=23

// Combine them and put into uu
tt=pp<<7
tt=tt|rr

// Maker sure we don't go out of bounds
vv=0
if tt>16383 then vv=1
if tt<0 then vv=-1
if vv>0 then Log "Error %tt% is too big"
if vv<0 then Log "Error %tt% is too small"
// out of bounds so dont send.
if vv!=0 then exit rules, skip outgoing action
// Display results

Log "Log MSB=%pp% LSB=%rr% - Combined = %tt%"

PC-with-MSB-LSB.bmtp (2.0 KB)

Steve Caldwell
Bome Customer Care


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

Hello Steve, thank you for your fast answer!

So I understood, I have to create a rule to change my Midi CC from the Korg Nano to send the hole MSB / LSB / PGM to my MODX?
And were will I put the last parameter, the PGM in your Script?

To call my Setup, I need

MSB 63 LSB 1 PGM 1

Where do you put this into your script to send the hole string do MODX?
Nano Pad triggers normal CC Values for Input, so that’s not the problem.

Translator 1.0 rules for MSB LSB

// Put MSB Here
pp=23
// Put LSB Here
rr=23

Change to

// Put MSB Here
pp=63
// Put LSB Here
rr=1

Change your incoming trigger based on what your Nano Pad sends. Instead of Note On

use Control Change

Program Number in outgoing action.

Steve Caldwell
Bome Customer Care


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

Thank you so much!
Everything works perfect!

1 Like