VoiceGender Enumeration

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Defines the values for the gender of synthesized voices.

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

Syntax

Visual Basic (Declaration)
Public Enumeration VoiceGender
Visual Basic (Usage)
Dim instance As VoiceGender
C#
public enum VoiceGender

Members

Member nameDescription
NotSetIndicates no voice gender specification.
MaleIndicates a male voice.
FemaleIndicates a female voice.
NeutralIndicates 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