Lesson 9 of 26 · see all lessons
Start here: the exam, Python basics and responsible AI (skill area 1, 40-45%)
AI models: how they work, choosing and deploying (skill area 1)
AI workloads: text, speech, vision and extraction (skill area 1)
Generative AI apps and agents in Foundry (skill area 2, 55-60%)
Text, speech, vision and extraction apps in Foundry (skill area 2)
- 17. Building a text analysis app
- 18. Building speech apps: spoken prompts and Azure Speech
- 19. Building vision apps: images in prompts and generated images
- 20. Extracting information with Content Understanding: documents and forms
- 21. Content Understanding for images, audio and video, and a small extraction app
Final review and four mock exams
16 min
Speech: recognition and synthesis
Learn what speech-to-text and text-to-speech can do, from real-time captions to custom voices.
By the end of this lesson you can
- Tell speech recognition and speech synthesis apart and name their features
- Pick real-time, fast or batch transcription for a scenario
- Explain what SSML controls and why custom voice needs approval
- Choose between Azure Speech and a voice-capable generative model
From earlier lessons · 1 of 2
A guest review has one positive sentence, one negative sentence and one neutral sentence. Which document-level label does sentiment analysis return?
Pick one answer.
From earlier lessons · 2 of 2
You need to know whether "Amazon" in a text means the river or the company, with a link to a reference page. Which Azure Language feature fits?
Pick one answer.
Mrs. Okafor is blind and books a trip with Fernhill Travel every spring. She asked for her itinerary as audio, read clearly, with a pause between days. Meanwhile, the support team records 300 calls a week and nobody can search them. Both problems are speech problems, running in opposite directions.
Speech recognition: real-time, fast and batch
Exam depth: know it cold.
Speech recognition, also called speech to text, turns spoken audio into text. Azure Speech offers three ways to run it.
| Option | How it works | Typical use |
|---|---|---|
| Real-time transcription | Streams audio, returns text as you speak. | Live captions, voice assistants. |
| Fast transcription | Sends a recorded file, returns text quickly. | Voicemail, meeting notes. |
| Batch transcription | Queues many stored files, processes them later. | Post-call analytics on thousands of calls. |
Real-time also returns intermediate results, early guesses that update as more audio arrives.
Decision rule: "live" picks real-time; "one recording, quickly" picks fast; "large volumes" or "overnight" picks batch.
Fernhill Travel wants to transcribe last year's 15,000 stored call recordings for a quality review. Speed per file doesn't matter. Which option should you use?
Pick one answer.
Who said what: diarization, custom speech and language identification
Exam depth: know it cold.
- Diarization separates the speakers in a recording. The transcript shows Speaker 1, Speaker 2 and so on, so you can see who said what. It doesn't know their names.
- Custom speech trains a model on your own text and audio. Use it when the base model misses your jargon, or the audio is noisy.
- Phrase lists are the light option. You pass a list of words likely to be spoken, such as "Algarve" or "Fernhill", to improve accuracy without training.
Exam depth: recognize it. Language identification detects which language is being spoken. It works alone, with speech to text or with speech translation.
Speech synthesis: neural voices and custom voice
Exam depth: know it cold.
Speech synthesis, also called text to speech, turns text into spoken audio. Azure Speech uses neural voices, voices built with deep neural networks that sound close to human.
- Standard voices are ready-made neural voices in more than 100 languages and locales. Microsoft's pricing page still calls them "Neural".
- Custom voice creates a voice unique to your brand from recordings of a voice actor. Older material calls it custom neural voice.
Custom voice is Limited Access: you must apply and be approved by Microsoft before you can use it. Microsoft gates it because a cloned voice could impersonate a real person.
Typical uses: read-aloud for people with visual impairments, voice replies from agents, navigation prompts and narrated training.
SSML: controlling how the voice sounds
Exam depth: know it cold.
Speech Synthesis Markup Language (SSML) is an XML-based markup you wrap around text. It tells text to speech how to say it.
With SSML you can:
- Choose the voice, language and speaking style.
- Change pitch, speaking rate and volume, using the
prosodyelement. - Add a break, a pause of a set length, between sentences.
- Control pronunciation of a word, using phonemes or a custom lexicon.
Plain text gives you the default reading. SSML gives you control.
Deciding words: "pause", "slower", "pronounce", "emphasis" or "pitch" point to SSML.
Mrs. Okafor's itinerary audio reads too fast and says "Faro" wrong. You must slow the speech, add a pause between days and fix the pronunciation. What should you use?
Pick one answer.
Speech translation and speaker recognition
Exam depth: recognize it.
Speech translation takes spoken audio in one language and returns translated text, translated speech, or both, in real time. It's part of Azure Speech. Live Interpreter, part of real-time speech translation, detects the spoken language by itself and can switch languages mid-conversation.
Speaker recognition identifies or verifies a person from the sound of their voice. Microsoft's Foundry Tools list still names it under Azure Speech. Treat it as a recognize-only term: "who is this voice?"
Decision rule: spoken input in one language, output in another, means speech translation in Azure Speech. Written text means Azure Translator.
Azure Speech or a voice-capable model?
Exam depth: recognize it.
Some generative models in Foundry accept audio in and produce audio out. The GPT Realtime models do "speech in, speech out" conversations with low latency. Other multimodal models accept a spoken prompt and answer it. Lesson 18 builds this.
Voice Live is an Azure Speech API for voice agents. It combines speech recognition, a generative model and text to speech in one managed service, with noise suppression built in.
| Need | Pick |
|---|---|
| Transcripts, captions, read-aloud. | Azure Speech |
| Precise control of voice and timing. | Azure Speech with SSML |
| A voice conversation that reasons and answers. | A realtime model or Voice Live |
Decision rule: a fixed speech task picks Azure Speech; a spoken conversation with an AI picks a voice-capable model.
Scenario table
Match
Match each scenario to the Azure Speech feature that fits
Pick an item on the left, then its match on the right.
Exam-style practice
For each statement, select Yes if it is true. Statement: Any Azure subscription can create a custom voice that copies a voice actor, without applying to Microsoft first.
Pick one answer.
A conference organizer needs words to appear on screen within a second of each speaker saying them, for attendees who are deaf. Which option should you use?
Pick one answer.
A travel company wants callers to speak to an assistant that understands open questions, reasons about trips and talks back with low delay. Which choice fits best?
Pick one answer.
FlashcardsIndex cardsFlashcards ⚡
Card 1 of 17Worth keeping
- Decide direction first: audio to text is recognition, text to audio is synthesis.
- Live picks real-time, one file quickly picks fast, big archives pick batch.
- Diarization tells speakers apart; custom speech and phrase lists fix jargon.
- SSML controls pitch, rate, pauses and pronunciation; custom voice needs approval.
- Fixed speech tasks use Azure Speech; spoken AI conversations use a realtime model or Voice Live.
Fernhill's guides send 2,000 trip photos a month. Next lesson: what computer vision can see in them, and how image-generation models create pictures that never existed.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (15)
Each fact in the lesson is marked with the number of the page it comes from.
- [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
- [16]Microsoft Learn: How to: Use Sentiment analysis and Opinion Mining
- [52]Microsoft Learn: What are Foundry Tools?
- [54]Microsoft Learn: Speech (training unit)
- [58]Microsoft Learn: What is Azure Speech?
- [68]Microsoft Learn: What is entity linking in Azure Language in Foundry Tools?
- [74]Microsoft Learn: Speech to text overview
- [75]Microsoft Learn: Text to speech overview
- [76]Microsoft Learn: Speech Synthesis Markup Language (SSML) overview
- [77]Microsoft Learn: Voice and sound with Speech Synthesis Markup Language (SSML)
- [78]Microsoft Learn: Speech translation overview
- [79]Microsoft Learn: Voice Live API overview
- [80]Microsoft Learn: Custom speech overview
- [81]Microsoft Learn: Use the GPT Realtime API for speech and audio
- [82]Microsoft Learn: Speech-enabled solutions (training unit)