GestureSynth.me

Music calculator

MIDI 14-Bit CC Calculator

Split a 14-bit MIDI controller value into paired coarse and fine Control Change messages. See both hex messages and check the receiving channel.

midi 14 bit cc calculator

MIDI 14-Bit CC Calculator guide

A high-resolution expression control can cross a coarse boundary without an audible jump when both halves of its value reach the receiver. Choose a channel, the coarse controller number and a decimal value from zero to 16383. The output supplies two ordinary MIDI 1.0 channel messages that a monitor can display separately.

Play the instrument ↑
Default result
B0 01 40 · B0 21 00

Calculation and units

Divide the value by 128. The integer quotient is the coarse data byte and the remainder is the fine data byte. The coarse controller number is in the range zero through 31. Its fine partner uses that number plus 32. Both messages use the same status byte B0 through BF, selected by the zero-based channel nibble.

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.

Center of modulation

MIDI channel = 1 · Coarse controller number = 1 · 14-bit value = 8192.

B0 01 40 · B0 21 00. MSB 64, LSB 0. Two Control Change messages on channel 1. Check the device implementation for this controller pair.

The coarse half is 64 and the fine half is zero. A receiver using only the coarse modulation value can see the middle position but will miss finer motion between such steps.

Last fine step

MIDI channel = 1 · Coarse controller number = 1 · 14-bit value = 127.

B0 01 00 · B0 21 7F. MSB 0, LSB 127. Two Control Change messages on channel 1. Check the device implementation for this controller pair.

At the end of the first coarse block the fine byte is 7F. The base controller number stays one for the coarse message, while the fine partner uses controller 33.

First coarse carry

MIDI channel = 1 · Coarse controller number = 1 · 14-bit value = 128.

B0 01 01 · B0 21 00. MSB 1, LSB 0. Two Control Change messages on channel 1. Check the device implementation for this controller pair.

Only one unit higher in the complete range, this position advances the coarse half and resets the remainder. Monitoring both halves explains the apparent wrap in the fine message.

Maximum expression

MIDI channel = 16 · Coarse controller number = 11 · 14-bit value = 16383.

BF 0B 7F · BF 2B 7F. MSB 127, LSB 127. Two Control Change messages on channel 16. Check the device implementation for this controller pair.

The highest channel uses status BF and the maximum value sets both data bytes to 7F. The expression pair’s controller numbers remain distinct from those equal data values.

One fine step above center

MIDI channel = 2 · Coarse controller number = 7 · 14-bit value = 8193.

B1 07 40 · B1 27 01. MSB 64, LSB 1. Two Control Change messages on channel 2. Check the device implementation for this controller pair.

A high-resolution volume mapping changes the fine byte by one after the center point. A system that processes only coarse volume may display no audible or visible difference.

All-zero value

MIDI channel = 1 · Coarse controller number = 10 · 14-bit value = 0.

B0 0A 00 · B0 2A 00. MSB 0, LSB 0. Two Control Change messages on channel 1. Check the device implementation for this controller pair.

The numeric value can be zero for both halves without becoming a note-off message. The Control Change status and the pan controller pair determine how a receiver interprets these two packets.

Interpreting the result

At a value of 127 the coarse byte is zero and the fine byte reaches 127. Increasing the value once resets the fine byte to zero and increments the coarse byte. Comparing positions on either side of this boundary is a useful way to spot a mapping that simply divides by 127 or swaps the two data bytes.

Measurement and model limits

Start with a controller pair that the instrument explicitly documents. A coarse assignment in the standard controller table does not guarantee that a particular receiver acts on its fine partner. A MIDI monitor can show the exact transmission while the receiving synth still applies only seven bits. The address pair and the data bytes are separate numbers.

Answers before you play

Common questions

Is this the same as pitch bend?

Both representations have fourteen data bits. Pitch bend uses a dedicated status and places both data bytes in one message. This encoder creates two Control Change messages and displays a complete status for each.

Can I use this for an NRPN parameter number?

NRPN selection uses designated controllers for parameter addressing. Sending a coarse and fine pair by itself does not choose an NRPN address. For Data Entry, the receiver must already have the intended parameter selected according to its implementation.

Why does the second controller number differ by 32?

MIDI assigns fine partners for the coarse range 0 through 31 to numbers 32 through 63. Each partner carries the low seven value bits for its corresponding coarse assignment.

Why is the status repeated?

The display prints a self-contained status for each message. A transport supporting running status may omit a repeated status on the wire while representing the same two control updates.