Partager via


Note

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

VoiceGender Enumeration

Defines the values for the gender of synthesized voices.

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

Syntax

'Declaration
Public Enumeration VoiceGender
'Usage
Dim instance As VoiceGender
public enum VoiceGender

Members

Member name Description
NotSet Indicates no voice gender specification.
Male Indicates a male voice.
Female Indicates a female voice.
Neutral Indicates a gender-neutral voice.

Remarks

VoiceGender can indicate the gender of an existing voice or a gender preference when selecting a voice. All of the SelectVoiceByHints() methods and three of the StartVoice() methods use VoiceGender to specify the gender when selecting a voice. The Gender property obtains the gender of an existing voice using a VoiceGender member.

See Also

Reference

Microsoft.Speech.Synthesis Namespace