How to use Text-to-Speech System.
 
Important
 
Please turn on your desktop speakers and check the volume level settings.
 
Various SAPI XML tags are utilized in the SPEAK command to implement tone variations and handle several number-to-speech conversions.
 
The following XML tags are used in this script.
 
XML Tags
Description
<SPELL>
Spells out the text
<SILENCE>
Introduces an interval of silence
<PARTOFSP>
Enables to pronounce a word with multiple pronunciations correctly depending on its part of speech
<VOLUME>
Adjusts the output volume level
<VOICE>
Selects a voice based on its attributes: Age, Gender, Language, Name, Vendor and VendorPreferred
<LANG>
Selects a voice based solely on its language attribute
<EMPH>
Emphasizes a section of text
<CONTEXT>
Enables the voice to distinguish and normalize special formats like dates, numbers and currency
<PITCH>
Controls the pitch of a voice
<RATE>
Controls the rate/speed of the voice
 
For more information on XML grammar, please refer Microsoft Speech SDK 5.x Help.