Partager via


How to: Simulate Bargein While Debugging

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Use the Voice Response Debugging Window dialog box to simulate bargein by providing voice, text, or .wav file input while a prompt is playing.

Simulating Bargein

To allow bargein, the CanBargeIn property of the activity performing recognition must be set to true.

To simulate bargein using voice input

  1. Start a debugging session.

    For more information, see How to: Start a Debugging Session.

  2. On the User Input tab, click Start Recording while a prompt is playing, and then speak into the microphone.

  3. Enter any desired changes to the Confidence score or Keyword Values.

To simulate bargein using .wav input

  1. Start a debugging session.

    For more information, see How to: Start a Debugging Session.

  2. On the User Input tab, select Waveform Audio Input, and then click Browse.

  3. In the Open dialog box, browse to the .wav file created in the previous procedure, and then click Open.

  4. While a prompt is playing, click Submit.

  5. Enter any desired changes to the Confidence score or Keyword Values.

  6. Click Submit a second time.

To simulate bargein using text input

  1. Start a debugging session.

    For more information, see How to: Start a Debugging Session.

  2. On the User Input tab, select Text Input, and then enter the text that you want to emulate.

  3. Select a recognition confidence value.

  4. While a prompt is playing, click Submit.

During usability testing, the author can use the Text Input or Waveform Audio Input option****to override the input that the usability subject provides to the application.

See Also

Other Resources

Debug Speech Applications
Create Managed Code Voice Response Applications