What is pitch shifting?
Mixing & EffectsAn audio process that raises or lowers the perceived pitch of a signal. Many pitch-shifting methods can change pitch without proportionally changing playback duration.
An audio process that raises or lowers the perceived pitch of a signal. Many pitch-shifting methods can change pitch without proportionally changing playback duration.
Pitch shifting raises or lowers the pitch of recorded or live audio by a chosen interval. Modern algorithms can do this while approximately preserving duration, making it possible to transpose a vocal, change a sample’s key or create a harmonized copy. The processing analyzes or rearranges the waveform rather than simply asking a MIDI instrument to play a different note.
Results depend on the source and algorithm. A solo voice, a sustained chord and a drum loop present different problems. Large shifts can change the apparent size or identity of a voice unless formant treatment is provided, and transients or complex mixtures may develop audible artifacts. Formant preservation can help retain vocal character but does not guarantee a transparent result.
s is the desired signed transposition in equal-tempered semitones (real-valued for fractional shifts), r = 2^(s/12) > 0 is the dimensionless frequency ratio and f_in > 0 is an input frequency. The target frequency f_out = r·f_in uses the same units as f_in. For example, shifting 220 Hz up by seven semitones gives approximately 329.63 Hz; shifting 440 Hz down by twelve semitones gives 220 Hz. This is the intended mapping of tonal components; it does not specify a time-preserving audio algorithm, formant handling or artifacts.
Frequency shifting adds a fixed number of hertz to components instead of multiplying them by a common ratio; it usually disrupts harmonic relationships. Pitch correction is a related process that chooses changing shifts to move notes toward selected targets.