PromptBuilder.StartVoice Method (VoiceGender, VoiceAge)

Instructs the synthesizer to change the voice in the PromptBuilder object and specifies the gender and the age of the voice to use.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)


Public Sub StartVoice ( _
    gender As VoiceGender, _
    age As VoiceAge _
Dim instance As PromptBuilder
Dim gender As VoiceGender
Dim age As VoiceAge

instance.StartVoice(gender, age)
public void StartVoice(
    VoiceGender gender,
    VoiceAge age



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

To stop using the voice specified by StartVoice(VoiceGender, VoiceAge) call EndVoice().

See Also


PromptBuilder Class

PromptBuilder Members

StartVoice Overload

Microsoft.Speech.Synthesis Namespace