Compartir a través de


Note

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

VoiceAge Enumeration

Defines the values for the age of a synthesized voice.

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

Syntax

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

Members

Member name Description
NotSet Indicates that no voice age is specified.
Child Indicates a child voice (age 10).
Teen Indicates a teenage voice (age 15).
Adult Indicates an adult voice (age 30).
Senior Indicates a senior voice (age 65).

Remarks

VoiceAge can indicate the age of an existing voice or an age preference when selecting a voice. Three of the SelectVoiceByHints() methods and two of the StartVoice() methods use VoiceAge to specify the age when selecting a voice. The Age property obtains the age of an existing voice using a VoiceAge member.

See Also

Reference

Microsoft.Speech.Synthesis Namespace