LabHub

Blog

Voice AI in Practice — The Complete Guide: Real-Time STT/TTS, Speech LLMs, Turn-Taking, and Deepfake Defense (2025)

한국어English日本語中文

Season 4 Ep 9 — In Ep 8, audio was one modality among many. Ep 9 focuses on a single product category: voice. Real-time behavior, naturalness, and safety — why holding all three at once is hard, and how to do it.

Prologue — The Year of "AI Without a Screen"

OpenAI's GPT-4o demo in May 2024 was the turning point for voice AI. Latency of ~300ms, natural pronunciation, emotional expression, interruption — a single end-to-end model delivered quality that a traditional STT→LLM→TTS pipeline struggles to reach.

As of 2025:

This post pulls together, in one pass, everything you need to know when you build voice AI.


Chapter 1 · Two Architectures

1.1 The Traditional Pipeline (STT → LLM → TTS)

[Mic]VAD[Streaming STT][LLM][Streaming TTS][Speaker]

1.2 Speech LLMs (end-to-end)

[Mic][Speech LLM: speech → speech][Speaker]

1.3 The Hybrid Reality of 2025


Chapter 2 · Designing the Real-Time Pipeline

2.1 VAD (Voice Activity Detection)

2.2 Streaming STT

2.3 LLM Processing

2.4 Streaming TTS

2.5 Interruption (Barge-in)


Chapter 3 · Designing the Latency Budget

3.1 The Target

A figure frequently cited in research and in the field: the average gap between turns in human conversation is ~200ms. If the AI answers within 500ms–1s it feels natural. Past 1.5s it feels awkward.

3.2 An Example Budget (Traditional Pipeline)

VAD end-of-utterance detection: 150ms
STT final result: 150ms
LLM TTFT (first token): 300ms
TTS first audio chunk: 150ms
Network and decoding: 100ms
───────────────────
Total to first audio playback: about 850ms

3.3 Where to Cut

3.4 Jitter and Stability


Chapter 4 · Speech LLMs — GPT-4o Realtime, Gemini Live, Moshi

4.1 GPT-4o Realtime

4.2 Gemini Live

4.3 Moshi (Kyutai, open)

4.4 Differences

ItemGPT-4oGemini LiveMoshi
PriceHighMediumSelf-hosted
KoreanExcellentExcellentLimited
CustomizationLimitedLimitedHigh (open)
Modality mixSpeech, textSpeech, video, textSpeech-first
EnterpriseAPI + loggingGoogle CloudSelf-managed

Chapter 5 · Emotion, Prosody, Speed — Expressive Speech

5.1 The Control Axes of TTS

5.2 SSML (Speech Synthesis Markup Language)

<speak>
  Hello, <break time="300ms"/>
  today we are going to talk about something <emphasis level="strong">very important</emphasis>.
</speak>

5.3 The Politics of Emotion

Do not use the same tone for every voice. Split the profiles to match the service context.


Chapter 6 · Telephony (PSTN), Browser, Mobile

6.1 Telephony Integration

6.2 The Browser

6.3 Mobile Apps

6.4 Automotive and Embedded


Chapter 7 · Deepfake and Voice-Cloning Threats, and Defenses

7.1 The Threats

7.2 Defense Layers

  1. Liveness detection: prepared lines vs. demanding a live response
  2. Voice biometrics: voiceprint plus behavior, in combination
  3. Deepfake detection: synthetic-speech classifiers (accuracy in the 90% range, not perfect)
  4. Callback verification: for sensitive requests, call back on the registered number
  5. Mandatory AI disclosure: laws in some countries and states (notice when the voice is AI)

7.3 Watermarking

7.4 Operational Policy


Chapter 8 · What Makes Korean-Language Voice Products Different

8.1 STT

8.2 TTS

8.3 Law and Regulation

8.4 Culture and UX


Chapter 9 · Cost and Operations

9.1 Cost Structure

9.2 Scaling

9.3 Observability


Chapter 10 · Three Real-World Cases

10.1 First-Line Contact Center Response

10.2 An English Conversation Learning App

10.3 Senior Care and Wellbeing


Chapter 11 · Twelve UX Principles

  1. Latency is everything: past one second it feels awkward
  2. Interruption: stop the instant the user cuts in
  3. Keep it short: three to five sentences per turn
  4. Signal uncertainty: when you don't know, say "I'm not sure about that"
  5. Anti-spoofing: never allow sensitive actions by voice alone
  6. Restrained emotion: brand tone first, no overacting
  7. Fillers: short signals like "mm" and "right" convey "I'm listening"
  8. Repeat requests: when the user says "what?", adjust speed and pronunciation
  9. Closing signal: wrap up naturally with "Is there anything else I can help with?"
  10. Error recovery: if STT looks wrong, ask back with "Did I understand that correctly?"
  11. Block personal data: discourage speaking card numbers or national ID numbers
  12. Accessibility: design separate UX for deaf and elderly users

Chapter 12 · Ten Antipatterns

12.1 Shipping Without Measuring Latency

90% of perceived quality is latency. p95 is the yardstick.

12.2 Overly Long Prompts for the LLM

Real-time behavior breaks. Keep the system prompt short and sharp.

12.3 No Interruption Handling

A robot that keeps pushing while you're talking. It destroys the UX.

12.4 No Consistency in Emotion and Tone

Mixing three voices and confusing the brand.

12.5 Trusting Deepfake Detection Alone

Detectors are imperfect. Combine liveness, callback, and policy.

Call-recording and AI-response notices are mandatory.

12.7 Implementing Real Time with Batch TTS

Needs a rewrite to chunk-level streaming.

12.8 Sensitive Transactions by Voice Alone

Identity verification in finance and healthcare needs an additional channel.

12.9 Ignoring Dialects and Elderly Voices

STT accuracy varies widely. Diversify samples and customize.

12.10 No Logs

You lose the evidence for disputes and for quality improvement.


Chapter 13 · Checklist — 12 Items Before Launching Voice AI


Chapter 14 · Next Up — Season 4 Ep 10: "LLM Security"

For voice and for text alike, the biggest threat to a 2025 LLM product is a security incident.

"Security is not a feature. It is a default." And yet through 2024–2025 many LLM products still fail to meet even the defaults.

See you in the next post.


Summary: Voice AI is a three-beat rhythm of real-time behavior, naturalness, and safety. The choice between a traditional pipeline and a speech LLM comes down to your latency, control, and compliance demands, and p95 latency decides 90% of the user experience. Manage emotion, speed, and tone through brand policy, and treat deepfakes and spoofing as something only layered defense handles. Korean-language products push the quality frontier by combining local assets like Clova, Kakao, and Supertone with global speech LLMs. In the era of "AI without a screen," the limit is now the imagination of the person building it.

Comments

No comments yet.

Sign in to leave a comment