PromptBuilder.StartVoice Method

Instructs the synthesizer to change the voice in a PromptBuilder object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method StartVoice(CultureInfo) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the culture of the voice to use.
Public method StartVoice(String) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the name of the voice to use.
Public method StartVoice(VoiceGender) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender of the voice to use.
Public method StartVoice(VoiceInfo) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies criteria for the new voice.
Public method StartVoice(VoiceGender, VoiceAge) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender and the age of the new voice.
Public method StartVoice(VoiceGender, VoiceAge, Int32) Instructs the synthesizer to change the voice in the PromptBuilder object and specifies its gender, age, and a preferred voice that matches the specified gender and age.
Top

A voice represents an installed TTS engine. Use the GetInstalledVoices() methods and VoiceInfo class to obtain the names and attributes of installed text-to-speech (TTS) voices that you can select.

When an application calls GetInstalledVoices(), the method verifies that each of the voices it finds in the registry meets certain minimum criteria. For any voice that fails verification, GetInstalledVoices() sets its Enabled property to False. An application cannot call any of the StartVoice() methods on a voice whose Enabled property is False. Typically, applications will not set a voice’s Enabled property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft