Tune a vocal to a key
Pitch correction measures the note being sung, compares it with the scale you chose, and moves the audio onto the nearest note of that scale. The file keeps its original length. Only the pitch changes.
Four things decide the result: the key, the scale, how far each note is pulled, and how long the pull takes.
Key and scale
The scale is the set of notes a sung pitch is allowed to land on.
Chromatic allows all twelve semitones. Every note is rounded to the nearest one, which needs no knowledge of the song and suits speech, bass lines, and single sustained notes.
Major and Minor allow seven notes, and the two pentatonic scales allow five. A smaller set makes a bigger correction, because a pitch that falls between two allowed notes has further to travel. That is the point: in A minor, a G sharp sung slightly flat is corrected up to A rather than being confirmed as a G sharp that does not belong in the key.
Getting the key wrong is worse than using chromatic. A correct key fixes notes that chromatic would leave alone; a wrong key moves correct notes somewhere they should not be.
Strength and retune speed
Strength is the fraction of the measured error that gets corrected. At 100% the note lands exactly on the scale. At 50% it moves halfway, which tightens a performance while leaving its character. At 0% the step passes the audio through.
Retune speed is how long that correction takes. It is the control that decides whether the result sounds corrected or sounds processed:
1to10 ms: the pitch snaps before the note has finished starting. Vibrato and scoops are flattened out, which produces the hard, stepped sound the effect is known for.20to50 ms: fast enough to catch a note as it settles, slow enough to leave the attack.60to200 ms: the correction arrives behind the singer. Vibrato survives, and only the sustained centre of each note is moved.
Detection limits
The detector uses a harmonic product spectrum, which multiplies the spectrum against decimated copies of itself. A fundamental is the frequency its own harmonics agree on, so this finds it even when the fundamental is quieter than the partials above it, which is normal for voice and for a small speaker.
It only tracks one pitch at a time, between 40 Hz and 1200 Hz. Two notes at once means one of them is chosen and the whole signal moves with it. When no pitch is confident enough, such as during a consonant, a breath, or a cymbal, the last correction is held rather than released, so a word does not detune halfway through.
Correction is bounded to 7 semitones. Past that the detector has almost certainly locked onto the wrong harmonic, and holding the previous amount is safer than transposing a phrase by a fifth.
In a chain
Correction works best on a signal that has already been cleaned. Put the de-esser and the denoiser before it, because sibilance and hiss both give the detector something to chase.
Formant shifting after correction is what keeps a large correction from sounding thin. Moving pitch drags the vocal tract resonances along with it, and shifting the formants back down restores the size of the original voice.
Latency
The step works on a spectrum rather than on samples, so it cannot analyse a window until the whole window has arrived, which is about 46 ms. That figure is declared to the engine: the preview compares against a matching delay, and the export removes it from the front of the file.