Explain it simpler
Text to speech means a computer reads text out loud in a voice that sounds human. Azure AI Speech has hundreds of ready-made voices in many languages. If you just give it plain text, it reads in its normal way, which is fine for simple messages. But sometimes you need to give directions, like an actor's script with notes in the margin: 'pause here', 'say this slowly', 'read these numbers one digit at a time', 'sound cheerful'. Those margin notes are written in SSML, a special markup language made of tags around your words. With SSML you can fix how a name is pronounced, slow down important instructions and make a date sound like a date instead of a math problem.
The phones at Elm Street Pharmacy have been ringing with complaints since the new automated line went live. Mr. Okafor, who is 82, called the counter to say the robot 'read my prescription number as four thousand two hundred and something' and 'rattled off the pickup steps faster than I could write them down'. Another caller heard the abbreviation 'Rx' read as a strange word. Hana, the store manager, asks you to fix the voice line without recording a human for every possible message. The text is fine; the problem is how it sounds. You have Azure AI Speech and a list of complaints about pronunciation, speed and pauses. How do you tell a synthetic voice exactly how to say things?
Text to speech, also called speech synthesis, turns text into natural-sounding audio. Azure AI Speech offers hundreds of prebuilt neural voices across many languages and locales. They are named by locale and voice, like en-US-AvaMultilingualNeural or en-GB-SoniaNeural, and generated by deep neural networks so they sound much more natural than older synthesized speech. Common uses include voice assistants, reading content aloud for accessibility, phone systems, in-car announcements and audio versions of articles.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.