Figure 1. ReadPlease 2003 application: This Windows application may read any text pasted from the clipboard into an edit field. |
Figure 2. Sample application - You can use this application to listen to text spoken in a variety of ways. |
<speech:prompt id="prmText" runat="server"> <InlineContent> <speech:Value runat="server" TargetElement="txtText" TargetAttribute="value"> </speech:Value> </InlineContent> </speech:prompt> |
SSML element | description |
ssml:paragraph/ssml:sentence | is used to break text into sentences or paragraphs. |
ssml:say-as | is used to specify how to play text. It accepts several different attributes to specify the type of text. |
ssml:phoneme | is used to control the pronunciation of a word. |
ssml:sub | is used to specify a replacement word or phrase to replace the specified text. |
ssml:emphasis | is used to increase the stress placed on a word or phrase. |
ssml:break | is used to insert some pauses between certain words in the text. |
ssml:prosody | is used to control pitch, rate and volume. |
ssml:audio | is used to insert recorded audio files. |
ssml:mark | is used to insert a mark at a certain position in the text. This tag can then be used to represent an event or trigger a behavior. |
<speech:prompt id="prmSayAsAcronym" runat="server"> <InlineContent> <ssml:say-as type="acronym"> <speech:Value runat="server" TargetElement="txtText" TargetAttribute="value"></speech:Value> </ssml:say-as> </InlineContent> </speech:prompt> |
function SayAsAcronym() { prmSayAsAcronym.Start(); } |