Home › Studies › AI-103 › Text & Speech › Speech Solutions

Speech Solutions

Real-time, fast and batch transcription · text to speech and SSML · Voice Live and voice agents · custom speech · audio with generative models · speech translation

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Speech to text: choose the transcription option

Speech recognition typically uses an acoustic model (audio to phonemes) and a language model (phonemes to words). Azure Speech offers three ways to run it.

OptionInput and resultChoose it for
Real-time transcriptionStreaming audio from a microphone or stream; intermediate results as speech is recognizedLive captioning, contact center voice agent, agent assist, voice assistant or chatbot
Fast transcriptionAudio file; synchronous, faster than real time, predictable latency; display form onlyVoicemail, video subtitles and editing, meeting notes, analytics right after a call
Batch transcriptionLarge volumes of stored audio, asynchronous, scheduled best-effort; results written to storagePost-call analytics such as QA, compliance and agent training; large archives

Text to speech

Text to speech needs the text to speak and the voice to use. Standard (neural) voices are available out of the box in 100+ languages and locales; custom voice means professional voice fine-tuning or personal voice.

FeatureWhat it does
SSMLXML-based markup to adjust pitch, add pauses, improve pronunciation, change rate and volume, and use several voices in one document. Some voices don't support all SSML tags (HD, personal and embedded voices).
Batch synthesis APIAsynchronous synthesis of audio longer than 10 minutes, such as audio books or lectures; you poll and download
VisemesKey poses of lips, jaw and tongue per phoneme; used to drive facial animation. Currently for en-US neural voices
Custom lexiconCustomizes pronunciation for standard and custom voices
Audio Content Creation toolNo-code way to tune speech output in Speech Studio

Speech as an agent modality

Speech-to-speech combines speech-to-text, reasoning and text-to-speech in one conversational experience. The Voice Live API is a fully managed solution for low-latency speech-to-speech for voice agents.

Symptom in testingLook at
Long or unfocused answersResponse-length guidance and scope in Instructions
Premature replies or long waitsTurn detection in Advanced settings
Hard-to-understand speechVoice selection and playback controls
Unexplained pauses during tool useTool latency; interim responses

Turn detection decides when the caller has finished. Azure semantic uses the meaning of what is said; Basic uses audio volume and timing, including the silence duration. A longer silence duration allows mid-sentence pauses but delays the reply.

Custom speech and customizing recognition

The base model is a Universal Language Model trained on Microsoft-owned data. A custom model augments it for domain vocabulary (text data) or specific audio conditions (audio with reference transcriptions).

ProblemTraining data
Industry vocabulary and grammar, such as medical terms or IT jargonPlain text or structured text
Nonstandard pronunciation, such as product names or acronymsPronunciation data, or phonetic pronunciation in structured text
Speaking styles, accents or background noiseAudio plus human-labeled transcripts

Reasoning over audio with generative models

NeedUse
Structured fields from recorded calls: summary, sentiment, entities, plus transcript, diarization and speaker rolesAzure Content Understanding audio analyzer (for example prebuilt-callCenter); you describe fields in natural language
Audio in, audio or text out from a generative modelGPT audio models such as gpt-audio
Low-latency speech in, speech out conversationGPT Realtime API (gpt-realtime family) over WebRTC, WebSocket or SIP
Real-time translation or transcription modelsgpt-realtime-translate; gpt-live-transcribe (current recommended model for realtime transcription)
Managed speech-to-speech without deploying a modelVoice Live API
Realtime connectionUse caseLatency
WebRTCClient-side apps: web, mobile, browserabout 100 ms
WebSocketServer-to-server: backend services, middlewareabout 200 ms
SIPTelephony: call centers, IVRVaries

Translating speech

OptionBehavior
Standard speech translation APIReal-time; send audio in a specified source language and get translated text, synthesized speech or both in your target language
Live InterpreterPart of real-time speech translation; continuously identifies the spoken language without an input language, switches languages in one session, speech-to-speech in a natural voice that preserves style and tone; optional personal voice
Azure LLM Speech (enhanced mode, fast transcription endpoint)LLM-powered; task set to translate and a required targetLanguage code such as en
gpt-realtime-translateAudio model for real-time multilingual translation with translated speech and text output

CLI and PowerShell

TaskAzure CLIPowerShell
Install the Speech Python SDKpip install azure-cognitiveservices-speech-
Create a recognizer for the microphonespeechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config)-
Start real-time recognitionspeech_recognizer.start_continuous_recognition()-
Pick a synthesis voicespeech_config.speech_synthesis_voice_name='en-US-Ava:DragonHDLatestNeural'-
Synthesize text to speechspeech_synthesizer.speak_text_async(text).get()-
Install the Voice Live SDKpip install azure-ai-voicelive-
Batch transcription of many filesTranscription_Create-

Exam Tips

Tick each tip once you can answer it without looking.

“Live captions for a webinar while the speaker talks” → Real-time transcription (Speech SDK). Trap: Fast and batch transcription work on audio files, not live streams.

“Voicemail file; transcript needed fast with predictable latency, synchronously” → Fast transcription. Trap: Batch transcription is asynchronous, best-effort, and can take up to 24 hours at peak.

“Thousands of stored call recordings for post-call QA” → Batch transcription (public or SAS URIs). Trap: Submitting jobs faster doesn't speed it up; spread requests and send about 1,000 files per create request.

“Know who said what in a recording” → Diarization (up to 35 speakers). Trap: Phrase lists improve term recognition; they don't separate speakers.

“Audio language unknown, two or three possible languages” → Language identification with candidate locales in AutoDetectSourceLanguageConfig. Trap: At-start LID takes up to four candidates; continuous LID up to 10; adds initial latency.

“Python package for speech recognition and synthesis” → azure-cognitiveservices-speech. Trap: azure-ai-voicelive is for Voice Live; azure-ai-textanalytics is for Language.

“Audio book or lecture longer than 10 minutes, synthesized asynchronously” → Batch synthesis API. Trap: The SDK or REST real-time path returns audio in real time, not by polling.

“Adjust pitch, pauses, rate and pronunciation of synthesized speech” → SSML (some voices, such as HD, support only some tags). Trap: Visemes give lip and jaw positions for animation, not audio changes.

“Low-latency voice agent, no manual orchestration of STT, LLM and TTS” → Voice Live API (managed; WebSocket). Trap: Chaining separate STT, model and TTS pieces is the do-it-yourself path with more engineering and latency.

“Foundry voice agent already created as text; make it voice” → Create a new voice agent: the interaction mode can't be changed. Trap: Editing the existing agent's mode is not possible.

“Voice agent replies too early when callers pause mid-sentence” → Lengthen Basic silence duration, or use Azure semantic turn detection. Trap: A different voice changes how the agent sounds, not when it replies.

“Recognize product names and jargon quickly with little effort” → Phrase list (just in time) or custom speech with plain or structured text. Trap: Audio plus transcripts takes days to train and is for accents and noise.

“Accents and background noise hurt accuracy” → Custom speech trained on audio plus human-labeled transcripts. Trap: Plain text improves vocabulary, not acoustic conditions.

“Plug a custom speech model into Voice Live” → custom_speech: locale code mapped to the deployed endpoint ID. Trap: The trained model ID doesn't work; the endpoint ID is needed.

“Custom model used only for batch transcription” → No hosted custom endpoint required. Trap: Every other use of a custom model needs a deployed custom endpoint.

“Summary, sentiment and entities pulled from call recordings” → Content Understanding audio analyzer (prebuilt-callCenter or custom field schema). Trap: A plain transcription option returns text, not extracted fields.

“Backend service sends audio to the GPT Realtime API; browser app does too” → WebSocket for server-to-server; WebRTC for client-side apps. Trap: SIP is for telephony integration; the Realtime API isn't for direct end-user device connections.

“Translate fast-transcription audio into another language” → Azure LLM Speech in enhanced mode, with task translate and targetLanguage. Trap: The default Azure Transcribe model doesn't translate.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Text Analysis & TranslationText & Speech overview →