GestureSynth.me

Music calculator

MIDI Pitch Bend Calculator

Decode a MIDI 1.0 pitch bend value and show semitone displacement and status, LSB, and MSB bytes for the chosen channel.

midi pitch bend calculator

MIDI Pitch Bend Calculator guide

Check raw messages from a wheel or sequencer against the pitch range configured on the destination instrument.

Play the instrument ↑
Default calculation
A value of 12288 at a ±2-semitone range gives +1 semitone in this convention.

Formula and units

The unsigned 14-bit center is 8192. Subtract 8192, divide by 8192, and multiply by the configured range. To build the bytes, use the low seven bits first and the high seven bits second.

Worked example

A value of 12288 at a ±2-semitone range gives +1 semitone in this convention. On channel 1 the bytes are E0 00 60. Center gives E0 00 40.

Pitch bend is channel-wide in ordinary MIDI 1.0. Per-note bend in MPE relies on assigning notes to separate member channels. The receiving synth must be configured for the same range.

Read or construct the bend bytes

MIDI data bytes occupy 0 through 127, so a pitch bend position is split across two seven-bit values. Compute the low byte as the raw value modulo 128. The high byte is the integer result of dividing by 128. Raw 8193 gives low 1 and high 64. Reconstruct the value from a capture by multiplying the high byte by 128 and adding the low byte. The status byte determines which channel receives the message.

At channel 16 the status is EF rather than E0. The low raw endpoint zero becomes 00 00, while 16383 becomes 7F 7F. For a symmetric nominal range of twelve semitones, the lower endpoint predicts exactly one octave down. The maximum upper value is just under an octave up in this model. When comparing a device whose endpoint is calibrated exactly, keep the displayed numeric convention in mind.

Some debugging tools show a signed value from −8192 to 8191. Add 8192 to use that value in the unsigned position field. Tools can also show normalized values or a range of negative and positive cents. Check whether the report describes the hardware wheel position or its effect on a synth's pitch. The same raw bytes can yield a different musical interval after changing pitch-bend sensitivity on the receiver.

Check the result with an instrument at a known range

Use a steady A4 at a two-semitone range. Putting the raw position at 12288 produces a half-range positive offset, about one semitone. The pitch should approach A♯4, around 466.164 Hz from a 440 Hz starting reference. Staying on the same channel and returning to 8192 restores the neutral offset. Repeat near the bottom of the wheel to compare expected position and receiver behaviour.

When recording bend automation, project controls may show interpolated values between events. Read the actual MIDI capture to confirm the bytes and channel. If a pitch bend remains active before the next note, the next note can inherit it. Many sequencing workflows insert a center value where a new phrase needs neutral playback.

Where your device presents an RPN-configured range with semitones and cents, convert to a single decimal semitone value for this calculator. A range of two semitones and fifty cents becomes 2.5. Confirm the destination interprets the cents field the same way.

Assumptions and limits

The upward maximum is one raw unit short of the full positive range under the symmetric-divisor convention. Some instruments scale the positive endpoint differently or apply a nonlinear response.

Answers before you play

Common questions

Does the pitch bend message include the range?

The ordinary channel pitch bend message carries a position. Pitch bend sensitivity is a separate instrument setting or Registered Parameter Number configuration.

Why do all notes on the channel bend together?

The pitch-bend status identifies the MIDI channel, with no note number in its data bytes. The result applies to voices responding on that channel. Controllers that offer per-note expression commonly reserve different member channels or use a protocol that explicitly addresses the individual note.

How do I find the bend range in a project?

Check the destination device or instrument plugin settings first. MIDI 1.0 defines a pitch-bend sensitivity Registered Parameter Number, and some devices honor it. A receiver can also ignore the configuration or use a fixed value, so verify by sending a known position to the actual instrument.

Can I enter the two data bytes in reverse order?

The wire order for this message is low seven bits first, then high seven bits. To use a trace provided as two bytes, decode in that order before entering the position. With center 00 40, reversing the bytes gives 40 00, a position near the lower end rather than neutral.