Field guide · Speech and voice

Speech and voice: from a recording to a usable voice chain

You feed a meeting recording to a model. The notes lose names, break sentences in the wrong place and merge two speakers. Speech is not one model; it is a chain: capture, denoise, segmentation, recognition, rewriting, synthesis and playback. Decide whether you need transcription, real-time dialogue or voice-over before chasing a human-sounding voice.

For Anyone building meeting transcription, a voice assistant or voice-over You leave with A chain map, a latency budget and one scenario that runs end to end Time 12 minutes to read; about half a day to get one chain running Last checked 25 Nov 2026

This is Specul’s decision framework for speech chains, not a ranking of microphones, models or products. Sample rates, latency, licences and prices remain with the linked pages and original sources.

If you only have five minutes
  1. Separate the scenario first: transcription, real-time dialogue and voice-over have different requirements.
  2. Real-time latency is five stages added together, not one model’s fault.
  3. For voice cloning, settle consent, labelling and use before chasing similarity.

The full guide starts below. Use the tables for reference; you do not need to memorise them.

One concrete job

Take one concrete job: turn a one-hour Chinese meeting into notes with speakers, timestamps and action items, within ten minutes, with no real-time requirement. Choose the chain for that scenario.

Define the use case first — transcription, real-time conversation or dubbing — then fix sample rate, latency and evaluation. One WER or MOS figure does not transfer across use cases.

1 · Six stages in one speech chain

Draw the chain so failures have a location. Capture turns an acoustic wave into digital audio through the microphone, gain, sampling and encoding. The front end suppresses noise, cancels echo and endpoints. Recognition turns audio into timestamped text. The dialogue layer decides the reply. Synthesis turns text back into audio. Playback adds buffering and the device. Each stage can fail alone, and later stages amplify earlier errors.

The most common misdiagnosis is “the model is bad”. In practice, a sample-rate mismatch degrades recognition across the board; echo cancellation that also suppresses near-end speech drops words; early endpointing cuts the last word; a short playback buffer causes glitches. Log each stage’s input, output, timestamp and error code before deciding to replace the model.

StageWhat it ownsCheck first
CaptureSample rate, gain, channels, deviceClipping, mono/stereo, shared timestamps
Front endNoise suppression, echo cancellation, endpointingNear-end speech suppressed, words cut by endpointing
RecognitionAudio to text and timestampsSample rate, language, hotwords, confidence
DialogueIntent, context, tool callsTreating a recognition error as user intent
SynthesisText to audioPolyphones, numbers, names, speaking rate
PlaybackBuffering, device, echo referenceUnderrun, latency, closed-loop reference
Rule of thumb: if the same symptom survives a model swap, fix the chain before trying another model.

↑ Back to contents

2 · Separate three use cases: transcription, real-time talk, dubbing

Transcription wants verbatim accuracy, editability and searchability; it can wait for the whole file and tolerate seconds of delay. Real-time conversation wants natural turns, barge-in and stable latency; slightly lower accuracy is acceptable if the reply is timely. Dubbing wants voice, emotion and lip or duration match; both text and audio are constrained by the script. The model, front end and evaluation table differ across the three.

Write the use case as constraints, not adjectives. “Natural” is not a constraint. “Telephone bandwidth, single speaker, Mandarin, end-to-end under 800 ms, barge-in allowed, every turn reversible” is. Without constraints, acceptance collapses into subjective impression.

Use casePrimary goalWhat can be tradedAcceptance evidence
TranscriptionWord accuracy, timestamps, searchSeconds of delay, offline batchTimestamped text, entity table, human audit
Real-time talkStable latency, barge-in, natural turnsA few word errors, shorter repliesP50/P95 latency, barge-in success, session completion
DubbingVoice, emotion, duration or lip syncGeneration time, some prosodyBlind listening, duration delta, lip error

↑ Back to contents

3 · Capture and front end: clean input before model talk

Recognition models commonly take 16 kHz mono audio, while telephony may be 8 kHz; synthesis and music delivery often use 24 kHz, 44.1 kHz or 48 kHz. Feeding 48 kHz stereo into an interface that expects 16 kHz mono may error or be resampled incorrectly: it “runs”, but word error rises. Fix sample rate, bit depth, channels and byte order before model choice.

The front end is not “more denoising is better”. Aggressive suppression eats consonants and word endings. Echo cancellation needs a reference signal; a wrong reference treats the user’s own voice as echo. Automatic gain raises noise in silence and keeps triggering endpointing. For every front-end module, compare recognition output and subjective listening on the same real recording, not just a clean waveform.

  • Fix the capture chain: same microphone, gain and sample rate; rule out device differences first.
  • Keep raw audio: store before and after the front end so failures can be traced to suppression or recognition.
  • Timestamp every stage against one clock so end-to-end latency is computable.
  • Alert on clipping, long silence and missing reference signals; put them in the log.

↑ Back to contents

4 · Real-time talk: latency is five segments added together

End-to-end latency in real-time speech has at least five parts: capture buffer, endpointing wait, network round trip, model inference and playback buffer. Optimising inference alone moves one segment. The “lag” users feel often comes from endpointing and playback buffering, not slow GPUs.

Set a budget before choosing a design. Conversational speech often aims at a few hundred milliseconds of added end-to-end latency; the exact target depends on the use case: support calls tolerate more, barge-in conversation less. Record P50, P95 and worst case separately. An average alone hides the worst interactions.

SegmentCommon sourceFix first
Capture bufferBlock size, driver, BluetoothShorter blocks, wired device
EndpointingSilence threshold, semantic endpointingTune threshold, use interim results
NetworkRound trip, jitter, retransmissionNearby endpoint, UDP/QUIC, jitter buffer
InferenceModel size, batching, queueingStreaming, smaller model, reserved capacity
PlaybackBuffer, device, echo referenceAdaptive buffer, device calibration
A practical acceptance test: have a user barge in 20 times on a real network and record the time from speech onset to playback stop. That is closer to experience than a model-only latency figure.

↑ Back to contents

5 · Models and formats: ASR, TTS and cloning are different jobs

ASR turns audio into text and cares about word error, timestamps, speaker separation, hotwords and language coverage. TTS turns text into audio and cares about naturalness, pronunciation, prosody, timbre and control. Voice cloning or conversion cares about timbre similarity and identity consent, usually with reference audio from the same speaker. They can be chained, but not accepted with one metric.

Format is part of delivery. Use uncompressed or lightly compressed PCM/WAV in the processing chain to avoid generation loss; use a low-latency codec such as Opus for transport; transcode to AAC for players or platforms. Record sample rate, bit depth, channels and bitrate at every transcode. “It plays” is not “no quality loss”.

Recognition
Input: Audio + language/hotwords
Output: Text + timestamps + confidence
Primary metric: WER/CER, entity accuracy

Synthesis
Input: Text + voice/style
Output: Audio
Primary metric: MOS/blind preference, pronunciation errors

Voice cloning
Input: Reference audio + text
Output: Audio in the same voice
Primary metric: Speaker similarity, consent and misuse controls

Diarisation
Input: Multi-speaker audio
Output: Speaker segments
Primary metric: Segment accuracy, overlapping speech

↑ Back to contents

6 · Evaluation: what WER, CER, MOS and RTF actually answer

WER counts word errors; Chinese commonly uses CER (character error rate). Neither equals “the meaning is right”. One wrong name, product, amount or date may barely move WER while the task fails. The evaluation table needs overall word/character error, entity accuracy, punctuation and segmentation, timestamp drift, and the raw failure samples.

MOS is a subjective listening score, usually 1–5 from listeners. It suits naturalness and audio quality, not intelligibility alone. RTF (real-time factor) compares processing time to audio duration and suits the question “can it run in real time”; it does not capture latency distribution or barge-in. Each metric answers only what it measured.

WER/CER
Question: How many words/characters are wrong
What it cannot answer: Whether meaning is usable, whether entities are wrong

Entity accuracy
Question: Names, amounts, dates correct
What it cannot answer: Overall fluency

MOS
Question: How natural it sounds
What it cannot answer: Intelligibility, acceptable latency

RTF
Question: Whether processing beats real time
What it cannot answer: P95 latency, barge-in experience

Speaker similarity
Question: Whether it sounds like the target voice
What it cannot answer: Consent, misuse risk

Include real failures: accents, fast speech, overlapping speakers, background music, telephone bandwidth, names and code-switching. A high score on clean recordings does not predict the real scene.

↑ Back to contents

7 · Rights in a voice: consent, labelling, use

The first gate in voice cloning is consent, not technology. Whose voice, for what content, for how long, and whether it can be withdrawn must be written before recording reference audio. Public figures, minors and customer call recordings carry extra consent and privacy requirements. This page is not legal advice; qualified people must apply local rules.

The second gate is labelling and use. Synthetic speech in support calls, audiobooks, ads, news or public statements faces different platform rules and disclosure duties; some contexts require an explicit “AI-generated” label, others forbid it. Also limit misuse: restrict access to reference audio, watermark or attach content credentials to output, keep generation logs and prepare a takedown path.

Rule of thumb: a voice without a consent and use record does not enter production. “It can be cloned” is not “it may be cloned”.

↑ Back to contents

8 · Failure branches: symptom first, then the chain

Speech failures rarely have one cause. The table below starts from the symptom the user hears or sees, not from a model name. Change one variable at a time and rerun on the same recording; otherwise you cannot tell what helped.

Transcript is bad throughout
Suspect first: Sample-rate/channel mismatch, wrong language
Check: Read the required format; rerun on raw audio

First word clipped
Suspect first: Insufficient pre-roll, short capture buffer
Check: Add 300–500 ms pre-roll and retest

Bot interrupts
Suspect first: Endpointing too short, semantic false positive
Check: Inspect endpoint timestamps and silence

Latency spikes
Suspect first: Jitter, inference queueing, playback underrun
Check: Instrument each stage; P50/P95/worst

TTS mispronounces
Suspect first: Text normalisation, polyphones, markup
Check: Inspect text and phonemes/markup

Clone rejected or off
Suspect first: Reference quality, consent, similarity
Check: Use clean reference; check consent and similarity

Echo or howling
Suspect first: Wrong reference, excessive gain, device coupling
Check: Run a loopback test, mute stages

No response after silence
Suspect first: VAD not triggered, session timeout, dropped queue
Check: Inspect VAD events and session state

Do not make “try another model” the first debugging step. Confirm format, timestamps, endpointing and playback first.

↑ Back to contents

9 · A minimum path to a working speech chain

Build one narrow, reproducible chain first; do not start with telephony, support or full duplex. Use ten real recordings and one fixed text to connect capture, recognition, synthesis and playback. Keep input, output, timestamps and failure reason at every stage.

  • Write the use case and constraints: transcription, real-time talk or dubbing; language, bandwidth, latency, barge-in.
  • Fix the capture chain: same device, sample rate, gain and channels; keep raw audio.
  • Run ten real samples: at least one each of quiet, noise, accent, fast speech and overlapping speakers.
  • Do offline transcription before streaming; single speaker before diarisation.
  • Timestamp each stage and compute P50/P95/worst latency, not only the mean.
  • Build 30–50 of your own items: character errors, entities, segmentation, names, numbers, refusals.
  • Add fallback: ask the user to confirm low-confidence recognition; fall back to text when synthesis fails.
  • Keep logs and replay: reconstruct capture, recognition, synthesis and playback for one session.
Done means real samples transcribe reliably, latency is explainable, failures fall back, and every stage is logged — not that the voice sounds human.

↑ Back to contents

Sources and further reading

These links are for checking facts, licences and official scope. External pages may change; cite the original text and check date.

  • Whisper paperThe Whisper paper on multilingual recognition, weak supervision and task formatting; versions and performance remain with the official repository.
  • Azure AI SpeechOfficial entry for speech recognition, synthesis, translation and speaker recognition; regions and quotas remain with the console.
  • NVIDIA RivaASR/TTS services and deployment docs for real-time speech; hardware and latency figures remain official.
  • ITU-T P.800Reference for subjective speech-quality testing, including listening tests and the limits of MOS; this page does not replace the formal specification.
  • Learn · Speech recognitionConcept page on recognition, acoustic models and language models.
  • Tools · Real-time speech agentsFive latency points in a real-time speech chain, with tool notes.
  • Tools · AudioTask-based audio tool dossiers; not a quality ranking.
  • Specul · Third-party assetsSite notes on the asset register, third-party content and attribution.

Next

If you get stuck while following it, go back to the matching route instead of rereading the whole guide.

← Back to home Spot an error? Send a correction