ForHosting KIT · Home, food & hobbies

Cents to pitch-bend value calculator

Bending up 100 cents on a synth set to a 2-semitone range takes a pitch-bend value of 12288, which is 4096 above the 8192 center. Enter the cents and the bend range to automate an exact detune. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Cents
100
Bend range
2
You get
Range cents
200
Semitones
1
Fraction
0.5
Raw fraction
0.5

A cents to pitch-bend value calculator turns a musical pitch offset measured in cents into the exact 14-bit MIDI pitch-bend integer your synthesizer, DAW automation lane, or hardware controller expects.

How cents map onto 14-bit MIDI pitch bend

MIDI pitch bend is a fourteen-bit control that rides with each channel voice. The integer spans zero through sixteen thousand three hundred eighty-three; the neutral center is eight thousand one hundred ninety-two, which means no detune relative to the note that is sounding. Full travel down reaches zero and full travel up reaches sixteen thousand three hundred eighty-three.

Instruments advertise a bend range in semitones from that center to either extreme—two semitones is the common default, twelve is a full octave, and some monophonic synths open the range much wider. Musicians and sound designers usually think in cents, where one equal-tempered semitone is exactly one hundred cents and an octave is twelve hundred cents.

The conversion is therefore linear in the cent domain: divide the desired cents by the range expressed in cents (semitones times one hundred), clamp the resulting fraction to the closed interval from negative one to positive one, then place that fraction on the fourteen-bit scale as eight thousand one hundred ninety-two plus the fraction times eight thousand one hundred ninety-two, finally rounding to the nearest integer and clamping into the legal MIDI span. Positive cents raise pitch; negative cents lower it; zero cents returns the exact center.

Practical tips, limits, and related searches

Common studio checkpoints are easy to memorize: one hundred cents with a two-semitone range is half of full travel and yields twelve thousand two hundred eighty-eight; minus fifty cents with the same range yields six thousand one hundred forty-four; zero cents always yields eight thousand one hundred ninety-two. Prefer sending numbers rather than pre-formatted strings when you control the client; string numbers are accepted only when they match a strict finite numeric pattern.

This landing targets people searching for a cents to pitch bend calculator, MIDI pitch bend from cents, or fourteen-bit bend value converter; it is not a frequency-to-cents converter, not a pitch detector for audio files, not a MIDI file writer, and not a real-time MIDI stream. Prefer this capability when you already know the cent offset and the instrument range and only need the control integer; if you start from two frequencies, convert to cents first with a dedicated interval tool.

Calibrate hardware controllers and MIDI keyboards

Live techs convert wheel travel expressed in cents into 14-bit values so hardware bend ranges match software instruments on stage.

What is the center pitch-bend value?

8192. That is the 14-bit neutral position meaning no pitch change. Full down is 0; full up is 16383.

What happens if cents exceeds the bend range?

The value is clamped to the corresponding extreme (0 or 16383 after rounding) and the response sets clamped to true so clients can detect the overshoot.

Is the cents to pitch-bend value calculator free?

The browser tool is free and runs locally.

What pitch-bend value gives 100 cents up with a 2-semitone range?

12288. One hundred cents is one semitone, half of the range, so the value moves 4096 steps above the 8192 center toward the top of 16383.

How do I bend the pitch down instead of up?

Enter the cents as a negative number. The value then falls below the 8192 center toward 0; with a 2-semitone range, 100 cents down lands on 4096.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/hobby/music-cents-to-pitch-bend

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/hobby/music-cents-to-pitch-bend \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cents":100,"bend_range":2}'
{
  "cents": 100,
  "bend_range": 2
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "hobby.music_cents_to_pitch_bend",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Enter the desired deviation in cents and the instrument bend range in semitones from center to either extreme; the tool returns the centered 14-bit value (8192 at rest), the signed fraction of the range, MSB and LSB bytes for a MIDI pitch-bend message, a clamp flag when the request exceeds the configured range, and ordered steps you can recompute by hand. Non-positive bend ranges and non-finite inputs are rejected with invalid_input so automation never stores an illegal control value.

How cents map onto 14-bit MIDI pitch bend

When the requested cents exceed the configured range, the value is pinned to the extreme and a boolean clamp flag is set so clients can warn the user or rescale their automation. This linear model matches how the vast majority of synthesizers interpret pitch-bend messages; it is not a psychoacoustic curve and it does not replace frequency-ratio math used for pure intervals.

How to call the API and what comes back

The bend range must be strictly greater than zero and at most ninety-six semitones; the absolute value of cents must stay within one million. The steps array walks from the raw cents through the range in cents, the fraction, the raw fourteen-bit placement, the integer clamp, and the MSB/LSB split so you can assert intermediate values in tests. Send a JSON body with two required finite numbers: cents, also accepted under the aliases deviation_cents, pitch_cents, cents_offset, and detune_cents; and bend_range, also accepted as range, range_semitones, bend_range_semitones, semitone_range, or pb_range. Missing fields, non-numeric strings, non-finite values, and out-of-range numbers return invalid_input and are never charged. On success the response echoes the rounded cents and bend_range, sets range_cents to bend_range times one hundred, semitones to cents divided by one hundred, fraction to the clamped fraction of the range, raw_fraction to the unclamped ratio, clamped to a boolean, pitch_bend and pitch_bend_14bit to the same integer in zero through sixteen thousand three hundred eighty-three, offset_from_center to pitch_bend minus eight thousand one hundred ninety-two, msb and lsb to the seven-bit MIDI data bytes, center, min, and max to the protocol constants, unit to the string midi_pitch_bend, formula to the closed clamp-and-round relation, and message to a short English summary. Pricing is a flat $0.002 per successful request with unit item.

Practical tips, limits, and related searches

Match bend_range to the value your instrument or DAW actually uses; a wrong range is the most common source of “half as much bend as I expected” bugs when one side is set to two semitones and the other to twelve. When teaching, pair a positive happy path with a deliberate zero or negative bend range to demonstrate the hard invalid_input path, and add one overshoot case so students see clamped become true. Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when learners deliberately probe edge cases. Round-trip checks are straightforward: recompute eight thousand one hundred ninety-two plus cents over range cents times eight thousand one hundred ninety-two, round, clamp to zero through sixteen thousand three hundred eighty-three, and confirm it equals pitch_bend.

Program synthesizer pitch-bend automation

Sound designers enter a target detune in cents and the patch bend range, then paste pitch_bend into DAW automation or SysEx scripts for exact ramps.

Unit tests for MIDI libraries and virtual instruments

Developers assert known cents and bend-range fixtures against deterministic pitch_bend, MSB, and LSB outputs without audio hardware.

How do you convert cents to a MIDI pitch-bend value?

Divide cents by (bend_range × 100) to get a fraction of the configured range, clamp that fraction to [−1, +1], then compute pitch_bend = round(8192 + fraction × 8192) and clamp to 0…16383.

What if bend_range is zero or negative?

The tool returns invalid_input. A non-positive bend range cannot define a meaningful cents-to-control mapping.

Read the full KIT documentation →