Share via


How to Manage Frequently Changed Prompts

POSTED BY: JOHN CLARKSON, MSS Programmer Writer

In cases where prompts need to be changed frequently, it is not necessary to recompile and redeploy a .prompts file following every change. Since a .NET speech application can use more than one .prompts file simultaneously, it is possible to put the prompts that change frequently in separate, smaller databases. When a prompt changes, recompile and redeploy just the one file containing that prompt. Use the Manage Prompt Databases... link in the Properties window, or the Manage this application's prompt databases link on the Voice Output pane in the property builder to add additional prompt databases.

Alternatively, use the SALT content tag to set a frequently changed prompt to reference a single wave file, which can be updated as necessary. To do this, enter

<salt:content href='/MyWav.wav' \>

as the text of the inline prompt, where MyWav.wav references the audio file.

Comments

  • Anonymous
    February 22, 2007
    Or you can follow my advice of using PromptEdit.exe and make it a part of your build process to build the prompt databases. Read more here: http://gotspeech.net/blogs/btyler/archive/2006/08/18/1536.aspx

  • Anonymous
    September 10, 2007
    Wouldn't setting the prompts dynamically work as well (i.e. getting the prompt from web.config and setting in the turnstarting event handler)?