GestureSynth.me

Music calculator

MIDI Bank Select Calculator

Split a MIDI bank number into MSB and LSB controllers and append Program Change. Read all three messages in sending order for the selected channel.

midi bank select calculator

MIDI Bank Select Calculator guide

Patch lists often show separate bank columns while a host stores one combined bank number. Enter that combined value and the zero-based program number to see the complete sequence. This makes it possible to compare a patch-selection action with a MIDI monitor one message at a time.

Play the instrument ↑
Default result
B0 00 01 · B0 20 00 · C0 00

Calculation and units

Divide the bank number by 128. The whole quotient is the MSB and the remainder is the LSB. Send controller zero for the coarse component, controller 32 for the fine component and then Program Change, all using the same channel.

Worked examples

Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.

First coarse-bank step

MIDI channel = 1 · Combined bank number = 128 · Program number (wire value) = 0.

B0 00 01 · B0 20 00 · C0 00. Bank MSB 1, LSB 0, program 0. Send both bank controllers followed by Program Change on channel 1.

Increasing the combined bank from 127 to 128 carries into the coarse byte. The program can remain at the first patch in the newly selected bank.

First bank and program

MIDI channel = 1 · Combined bank number = 0 · Program number (wire value) = 0.

B0 00 00 · B0 20 00 · C0 00. Bank MSB 0, LSB 0, program 0. Send both bank controllers followed by Program Change on channel 1.

Use the all-zero selection with a known factory patch. Some patch lists describe this program as one while the wire representation is zero.

Highest fine bank

MIDI channel = 1 · Combined bank number = 127 · Program number (wire value) = 10.

B0 00 00 · B0 20 7F · C0 0A. Bank MSB 0, LSB 127, program 10. Send both bank controllers followed by Program Change on channel 1.

The high component is still zero at this boundary. Set the program after both controllers so the synth can use the completed selection.

Same bank, different program

MIDI channel = 1 · Combined bank number = 128 · Program number (wire value) = 7.

B0 00 01 · B0 20 00 · C0 07. Bank MSB 1, LSB 0, program 7. Send both bank controllers followed by Program Change on channel 1.

A program change selects another slot within the same numbered bank. Compare the last message with the first preset to isolate the patch selection.

Same bank on another part

MIDI channel = 4 · Combined bank number = 128 · Program number (wire value) = 0.

B3 00 01 · B3 20 00 · C3 00. Bank MSB 1, LSB 0, program 0. Send both bank controllers followed by Program Change on channel 4.

All three status bytes must address the destination part. Sending the program event on a different channel may switch the wrong instrument.

Largest representable bank

MIDI channel = 16 · Combined bank number = 16383 · Program number (wire value) = 127.

BF 00 7F · BF 20 7F · CF 7F. Bank MSB 127, LSB 127, program 127. Send both bank controllers followed by Program Change on channel 16.

Both components reach 127 and the program reaches its own maximum. Real sound modules usually implement only a subset of these combinations.

Interpreting the result

Start with a factory patch whose MSB, LSB and program are documented. Reconstruct its combined bank as 128 times MSB plus LSB, then check each output byte. If the bank is correct but the patch is adjacent, check the display's program numbering.

Measurement and model limits

The numerical combination describes the MIDI addressing space. It says nothing about available patches or manufacturer-specific bank maps. Some instruments support only the coarse controller, and some hosts filter Bank Select before events reach an external device.

Answers before you play

Common questions

Why send the program last?

Many instruments apply the pending bank choice when a Program Change arrives. Sending the program first can recall that program from the previous bank.

What does bank 128 select?

It encodes coarse bank one and fine bank zero. The resulting group of sounds depends on the implementation in the receiving instrument.

What if my manual says program 1 through 128?

For a manual using one-based program labels, subtract one from the displayed value before entering the wire program.

Can I paste the entire result into a MIDI monitor?

The dots separate three complete messages for readability. Use the monitor's documented entry format and send each message in the displayed order.