Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

PromptBuilder.StartVoice Method (VoiceInfo)

Instructs the synthesizer to change the voice in the PromptBuilder object and specifies criteria for the new voice.

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

Syntax

'Declaration
Public Sub StartVoice ( _
    voice As VoiceInfo _
)
'Usage
Dim instance As PromptBuilder
Dim voice As VoiceInfo

instance.StartVoice(voice)
public void StartVoice(
    VoiceInfo voice
)

Parameters

Remarks

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(VoiceInfo) call EndVoice().

See Also

Reference

PromptBuilder Class

PromptBuilder Members

StartVoice Overload

Microsoft.Speech.Synthesis Namespace