Time stretching changes duration or tempo while aiming to preserve pitch; pitch shifting changes pitch while aiming to preserve duration. Ordinary playback-rate changes couple them: faster playback becomes shorter and higher, while slower playback becomes longer and lower.
Choose the intended operation before touching a rate or transpose control. Similar labels can hide different behavior, and a preserved BPM or key tag does not prove the final sound stayed unchanged.
Three operations, three different goals
| Operation | Duration/tempo | Pitch |
|---|---|---|
| Ordinary playback-rate change | Changes | Changes with the rate |
| Pitch-preserving time stretch | Changes | Intended to remain stable |
| Duration-preserving pitch shift | Intended to remain stable | Changes |
Real algorithms have supported modes and limits. Listen to the result instead of assuming that preserving one property means all timbre and transient detail is identical.
The DJ key-lock guide describes a practical pitch-preserving tempo workflow. A DJ rate control and an independent musical transpose control need not do the same thing.
Calculate a tempo and duration change
For a fixed beat count, target duration equals original duration multiplied by original BPM divided by target BPM. An eight-second loop at 120 BPM becomes 8 × 120 / 128 = 7.5 seconds at 128 BPM.
That is 93.75 percent of the original duration. Some software expresses a setting as a duration percentage; other software uses a speed ratio, which here is 128 / 120, approximately 1.0667. Check the control’s definition.
The loop-length guide explains why the beat count and trim boundaries must be correct before applying the formula. A tail outside the intended loop span should not silently become another beat.
Ordinary rate change also moves pitch
With ordinary rate-linked playback, frequencies multiply by the rate ratio. The equal-tempered interval change is 12 × log2(new rate / old rate) semitones.
For the 120-to-128 example, the ratio is 1.0667 approximately and the pitch rises about 1.117 semitones without preservation. It is not exactly a one-semitone transposition simply because the BPM increased by eight.
Doubling rate halves duration and raises pitch one octave. Halving rate doubles duration and lowers pitch one octave. Those exact relationships describe the ideal rate operation, not every algorithm’s independent stretch mode.
Calculate an independent pitch shift
An equal-tempered shift of s semitones multiplies frequency by 2s/12. A two-semitone upward shift multiplies frequency by approximately 1.12246. A downward shift uses the reciprocal relationship.
If duration-preserving processing is used, the intended beat timing can remain unchanged while the tonic moves. For an invented D-minor phrase shifted up two semitones, the corresponding tonal label would move to E minor when the same relationships are preserved.
The key chart helps check the new relationships. Do not confuse moving one Camelot wheel position with shifting one semitone.
Check transient and sustained material differently
A drum loop emphasizes attacks; a sustained pad or vocal exposes other aspects of processing. A mode that suits one can behave differently on another. Compare a representative section before processing the entire file.
Listen for timing changes, softened attacks, unnatural modulation or altered voice character. These are things to inspect, not claims that every method will produce the same artifacts.
Do not promise that a nominally preserved pitch also preserves every formant or aspect of timbre. Use the actual algorithm’s documentation and the resulting sound for those decisions.
Match a sample to the project deliberately
First determine the sample’s useful tempo and tonal evidence. A drum loop may have a clear rate but no meaningful global key. A sustained one-shot may have a note without enough context for major or minor.
The sample-key guide separates those cases. The sample-matching workflow combines timing and pitch checks without treating one tag as proof of fit.
After processing, recheck the intended boundaries and audition the sample with the actual bass, melody and arrangement. Matching BPM and a key label does not guarantee a useful musical result.
Decide whether to preserve a live performance
A live recording can have a changing tempo. Stretching it to a constant grid alters its timing, while making the project follow it preserves a different goal. Establish which outcome you want before adding dense corrections.
The tempo-map guide explains that choice. A single global average may be enough for a tag but insufficient for every beat in a long performance.
Keep an untouched reference and use a reversible project state. This lets you compare the actual effect rather than relying on remembered sound.
Know what this site’s tools actually do
In the homepage’s alternative manual-reference mode, the bpm key finder provides tap/manual tempo and relationships for a known key you select. It does not stretch or transpose audio, and taps do not reveal key.
The BPM to milliseconds calculator supplies numerical note durations. A calculated target is not an audio edit. Use an appropriate supported editor or playback application to perform the chosen processing.
File-based candidates can help inspect source material, but a candidate score is not a guarantee that the processed result fits every section. Keep the operation, amount and final listening decision in the project notes.
Verify the export, not only the controls
Check the resulting file’s duration, repeated boundaries and intended tonal state. Confirm that the export used the processing state you auditioned and that a later application did not apply another automatic stretch.
Record original and target BPM, interval shift, preservation mode and exact version. That makes a future comparison understandable and prevents an old tag from being mistaken for an analysis of the new sound.
Frequently asked questions
Does changing BPM always change key?
No. Ordinary rate-linked playback changes pitch with tempo, but pitch-preserving time stretching aims to separate them.
Does pitch shifting always change duration?
No. Duration-preserving processing aims to change pitch while retaining timing. Check the supported mode and final result.
Is a ten-percent rate increase one semitone?
No. Equal-tempered intervals are logarithmic. A semitone uses a ratio of 2 to the power of 1/12, approximately 1.05946.
Will a stretch preserve every detail of the sound?
No universal guarantee applies. Audition attacks, sustained tones and voice character with the actual material and algorithm.
Can this site’s numeric calculator edit my audio?
No. It supplies calculated timings. Perform audio processing in an appropriate supported application and verify the exported result.