Lesson 9 of 26 · see all lessons
  1. Start here: the exam, Python basics and responsible AI (skill area 1, 40-45%)

    1. 1. Start here: the AI-901 exam, the plan and what you already know
    2. 2. The Python and Azure basics AI-901 expects
    3. 3. Responsible AI: the six principles in practice
  2. AI models: how they work, choosing and deploying (skill area 1)

    1. 4. How generative AI models work
    2. 5. Choosing the right AI model for the job
    3. 6. Deploying a model: deployment options and configuration parameters
  3. AI workloads: text, speech, vision and extraction (skill area 1)

    1. 7. Common AI workloads: from chat and agents to vision and extraction
    2. 8. Text analysis: key phrases, entities, sentiment and summaries
    3. 9. Speech: recognition and synthesis
    4. 10. Computer vision and image generation
    5. 11. Extracting information from documents, images, audio and video
  4. Generative AI apps and agents in Foundry (skill area 2, 55-60%)

    1. 12. Writing system and user prompts
    2. 13. Deploying a model and chatting with it in the Foundry portal
    3. 14. Building a lightweight chat client with the Foundry SDK
    4. 15. Creating and testing a single agent in the Foundry portal
    5. 16. Building a lightweight client app for an agent
  5. Text, speech, vision and extraction apps in Foundry (skill area 2)

    1. 17. Building a text analysis app
    2. 18. Building speech apps: spoken prompts and Azure Speech
    3. 19. Building vision apps: images in prompts and generated images
    4. 20. Extracting information with Content Understanding: documents and forms
    5. 21. Content Understanding for images, audio and video, and a small extraction app
  6. Final review and four mock exams

    1. 22. Final review and exam day: every decision on one page
    2. 23. Mock exam 1
    3. 24. Mock exam 2
    4. 25. Mock exam 3
    5. 26. Mock exam 4
See the leaderboard

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.

[2]

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.

OptionHow it worksTypical use
Real-time transcriptionStreams audio, returns text as you speak.Live captions, voice assistants.
Fast transcriptionSends a recorded file, returns text quickly.Voicemail, meeting notes.
Batch transcriptionQueues 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.

[54][74]

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.

[74]

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.

[58][74][80]

[52][74]

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.

[75][82]

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 prosody element.
  • 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.

[76][77]

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.

[76]

Speech to text listens. Text to speech talks. Diarization just wants to know who interrupted whom. Picture: Retro pixel art, 16-bit video game style.

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.

[52][78]

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.

NeedPick
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.

[54][79][81]

Rendering diagram…
Chaining separate steps adds work and delay. Speech-to-speech options combine them.

[79]

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.

[58][74][82]

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.

[75]

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.

[74]

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.

[81]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 17

Worth keeping

  1. Decide direction first: audio to text is recognition, text to audio is synthesis.
  2. Live picks real-time, one file quickly picks fast, big archives pick batch.
  3. Diarization tells speakers apart; custom speech and phrase lists fix jargon.
  4. SSML controls pitch, rate, pauses and pronunciation; custom voice needs approval.
  5. 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.

  1. [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
  2. [16]Microsoft Learn: How to: Use Sentiment analysis and Opinion Mining
  3. [52]Microsoft Learn: What are Foundry Tools?
  4. [54]Microsoft Learn: Speech (training unit)
  5. [58]Microsoft Learn: What is Azure Speech?
  6. [68]Microsoft Learn: What is entity linking in Azure Language in Foundry Tools?
  7. [74]Microsoft Learn: Speech to text overview
  8. [75]Microsoft Learn: Text to speech overview
  9. [76]Microsoft Learn: Speech Synthesis Markup Language (SSML) overview
  10. [77]Microsoft Learn: Voice and sound with Speech Synthesis Markup Language (SSML)
  11. [78]Microsoft Learn: Speech translation overview
  12. [79]Microsoft Learn: Voice Live API overview
  13. [80]Microsoft Learn: Custom speech overview
  14. [81]Microsoft Learn: Use the GPT Realtime API for speech and audio
  15. [82]Microsoft Learn: Speech-enabled solutions (training unit)