A voice-cloning system first turns each short reference recording into a fixed-length speaker embedding (an x-vector / d-vector) that encodes timbre, pitch range and vocal-tract shape as a point in a high-dimensional space — shown here reduced to a 2D plane you can pan and zoom. Averaging N reference embeddings gives the clone target:
e_clone = (1/N) · Σ (e_true + noise_i)
Var(e_clone) = σ² / N (law of large numbers)
Each recording contributes its own microphone/room noise, so a single shot is a noisy estimate of the true speaker point. Averaging more shots cancels that noise — the clone marker (bright dot) visibly tightens onto the true centroid (dashed ring) as N grows or noise falls.
similarity = (e_clone · e_true) / (‖e_clone‖ ‖e_true‖)
e_out = α·e_clone + (1−α)·e_generic (vocoder conditioning)
A neural vocoder never sees the embedding directly as "voice" — it conditions its mel-spectrogram / waveform generation on it. The conditioning strength α interpolates the output embedding between an average "generic" voice and the cloned target; the bar spectrum below the plane is a simplified stand-in for the resulting formant envelope, and it visibly morphs as α moves from 0 (generic) to 1 (fully cloned).
- Reference shots — how many short clips of the target speaker were recorded before cloning.
- Recording noise — how much each clip's embedding is perturbed by mic/room conditions.
- Clone conditioning α — how strongly the vocoder is steered toward the cloned identity vs. a generic voice.
Real-world relevance: this is the same shape of pipeline behind few-shot voice-cloning products (ElevenLabs, so-vits, Resemble AI) and the character-voice layers under AI music tools like Suno/Udio — a small embedding computed from little audio, then used to condition a much larger generative vocoder.