VoiceAge 枚举


定义合成语音期限的值。Defines the values for the age of a synthesized voice.

public enum class VoiceAge
public enum VoiceAge
type VoiceAge = 
Public Enum VoiceAge


Adult 30

指示成人语音(年龄 30)。Indicates an adult voice (age 30).

Child 10

指示子语音(年龄 10)。Indicates a child voice (age 10).

NotSet 0

指示未指定语音年龄。Indicates that no voice age is specified.

Senior 65

指示高龄语音(年龄 65)。Indicates a senior voice (age 65).

Teen 15

指示青少年语音(年龄 15)。Indicates a teenage voice (age 15).


VoiceAge选择语音时, 可以指示现有语音或年龄首选项的期限。VoiceAge can indicate the age of an existing voice or an age preference when selecting a voice. 这三种StartVoice VoiceAge方法和两种方法用于指定选择语音时的期限。 SelectVoiceByHintsThree of the SelectVoiceByHints methods and two of the StartVoice methods use VoiceAge to specify the age when selecting a voice. Age 属性VoiceAge使用成员获取现有语音的年龄。The Age property obtains the age of an existing voice using a VoiceAge member.