Freigeben über


DialogPrompt Remarks

  Microsoft Speech Technologies Homepage

A Dialog Speech Control that defines prompts and contains information on how to play them.

Microsoft Speech Application SDK (SASDK) supports two types of prompting:

  • Synthesizing speech from text
    This is the simpler type of prompting, in which all prompt text is rendered as speech by the Speech Platform. The text may contain Speech Synthesis Markup (SSML), which enables authors to control characteristics of synthetic speech output such as pitch, rate, volume, and pronunciation.
  • Playing recorded sound files
    This type of prompting makes use of one or more databases of prerecorded sound files. The Speech Prompt Editor is designed to record and edit these files. Prompt engine markup language (PEML) markup can be applied to these files.

In both types of prompting, authors can use the PromptSelectFunction to select or modify the prompt text at runtime.

The DialogPrompt object is required in the QA, CompareValidator and CustomValidator Dialog Speech Controls.

Markup

<Prompt Properties >

  <Params>
    <speech:Param ... > ... </speech:Param>
  </Params>

  <PromptDatabases>
    <speech:PromptDatabase ... ></speech:PromptDatabase>
  </PromptDatabases>

</Prompt>

See Also

DialogPrompt Class | DialogPrompt Constructor | DialogPrompt Members | DialogPrompt Properties | DialogPrompt Methods | DialogPrompt Events