Sampler & varispeed math

Sample Pitch and BPM Stretch Calculator for Varispeed Loops

Convert between original sample BPM and target project BPM to find exact tape-style varispeed pitch shift in semitones and cents, time-stretch percentage, and new loop length.

100% browser-local · zero upload · instant .mid export
Share this tool

100% browser-local WebAudio & SMF Type 1 export · zero upload · zero sign-up

Varispeed Pitch Shift+1.117 semitones1 st (+12 cents)
Playback Speed Ratio1.0667x
Time-Stretch %93.75%
New Loop Duration7.5 s
BPM at +2 st134.7 BPM

Creator Cloud

Keep the versions and extend the phrase.

Creator Cloud adds cloud history and reviewed AI MIDI edits a month. The tool you are using stays free.

  • 60 reviewed AI MIDI edits each month
  • 50 cloud projects with 100 versions each
  • Cancel anytime; the free editor stays free
See Pro Producer · $49/yr

Why classic hip-hop and drum-and-bass producers use varispeed repitching

Granular time-stretching preserves key but often smears snare transients and introduces metallic phasing artifacts. Pitching a breakbeat or vinyl chop with tape-linked varispeed keeps every transient punchy—this sample pitch and BPM stretch calculator tells you the exact semitone and cent shift so your bassline and MIDI synths stay perfectly in tune with the sped-up sample.

How to match a pitched sample back to MIDI chords and bass

Suppose you speed a 92 BPM Rhodes sample up to 103 BPM. The calculator shows a +1.95 semitone (+2 st, −5 cents) pitch rise, meaning a C minor sample now sits right at D minor. Export the reference MIDI clip or transpose your arrangement by +2 semitones in EditMIDI to lock the entire track.

Bidirectional semitone-to-BPM planning for clean key changes

Drag the Transpose Semitones slider from −12 to +12 to see which exact BPM lands on a clean integer semitone with zero cents detuning, eliminating fine-tune headaches across VST synths.

Varispeed pitch-to-BPM conversion formulas

Mathematical link between tape/sampler playback speed, pitch transposition, and loop duration.

ConversionExact EquationHardware / DAW Equivalent
BPM ratio → Semitones12 × log2(Target BPM / Original BPM)MPC / SP-404 / Ableton Repitch mode pitch shift
Semitones → New BPMOriginal BPM × 2^(Semitones / 12)Resulting tempo after pitching a breakbeat up or down
Time-stretch %(Original BPM / Target BPM) × 100%FL Studio Time knob & Logic Flex Time length scale

Frequently asked questions

How many semitones does doubling a sample BPM raise the pitch?

Doubling playback speed (2.0x ratio) raises pitch by exactly +12.000 semitones, or one full octave. Halving playback speed drops pitch by −12 semitones.

What does cents remainder mean in the readout?

There are 100 cents in one semitone. If a BPM change equals +1.42 semitones, shifting your MIDI track by +1 semitone leaves your sample 42 cents sharp—meaning you should fine-tune the sampler by −42 cents or pick a nearby integer-semitone BPM.

Does this tool upload or process my audio samples?

No. All BPM, pitch, and loop-length calculations happen instantly inside your browser with zero file uploads.

What is inside the exported reference .mid file?

It exports a short transposed C-major triad reference at your target BPM shifted by the nearest integer semitone so you can verify tuning against your pitched loop in your DAW.