Partilhar via


Basic Speech Controls

  Microsoft Speech Technologies Homepage

Basic Speech Controls are designed to create Speech Application Language Tags (SALT) elements in an ASP.NET application environment. The client object of the Prompt Basic Speech Control is a SALT prompt element, and the client object of the Listen Basic Speech Control is a SALT listen element.

Basic Speech Controls provides functionality on the server-side that is identical to that provided by the SALT elements on the client-side. While the functionality is identical, the implementation may, in some cases, be different. This documentation provides information needed to make use of the server-side implementation.

The Basic Speech Controls consist of the following controls. Each control implements as properties, all the server-side functionality associated with that element in SALT.

  • Prompt
    Specifies the content of audio output.
  • Listen
    Performs recognition, post-processing and recording, as well as configuring speech recognizers.

These controls are designed primarily for tap-and-talk client devices, and for applications in which the user confirms recognition results and manages application flow through a graphical user interface (GUI). These controls do not interact with the RunSpeech client dialog manager, which handles confirmation and application flow for applications without a GUI.

Application authors must explicitly activate Basic Speech Controls by means of scripts that call the Start methods of the underlying SALT elements.

Event handling in Basic Speech Controls is similar to event handling in SALT. Authors create procedures for the handling of specific types of events, such as reco and noreco, and assign the names of these procedures to control properties such as OnClientReco and OnClientNoReco. When the browser detects one of these events, it calls the assigned procedure, passing in no parameters. The procedure can then extract information about the event from the event object.