Prompting End Users
This topic describes prompting support for ASP.NET speech applications running on the Speech Add-in for Microsoft Pocket Internet Explorer. Prompt databases are not supported in the Speech Add-in for Microsoft Pocket Internet Explorer, therefore authors must use text-to-speech (TTS) for prompts.
To specify Speech Engine Services
Use the server setting of the param attribute of the prompt element to identify the server, as in the following example.
<salt:prompt id="Prompt1" bargein ="true" bargeintype ="speech" onbargein="HandleBargeIn()">
<salt:param id="idbargeinType" name="bargeintype">speech</salt:param>
This is a long prompt, intended to be
interrupted by the user's spoken input.
Please interrupt this prompt.
</salt:prompt>
Authors that use remote TTS should consider caching speech synthesis streams received from the server, as described in the following section.
TTS Caching on Pocket PC
In a wireless application when synthesized speech is streamed from a Speech Server the Pocket PC radio is active sending and receiving data. This consumes battery power, which is a scarce resource that should be protected. The Speech Add-in for Microsoft Pocket Internet Explorer implements a cache of synthesized speech audio streams received from a speech server. This can decrease the need to retransmit repeated audio streams over the wireless network. For information on how to configure the TTS cache on Pocket PC, see the topic Communicating with Speech Server.
See Also
Managing Application Resources | Using the Speech Add-in for Microsoft Pocket Internet Explorer