VoiceInfo class

Information about Speech Synthesis voice Added in version 1.20.0.

Constructors

VoiceInfo({ DisplayName: string, Gender: string, LocalName: string, Locale: string, LocaleName: string, Name: string, ShortName: string, StyleList: string[], VoiceType: string })

Properties

displayName
gender
locale
localeName
localName
name
shortName
styleList
voicePath
voiceType

Constructor Details

VoiceInfo({ DisplayName: string, Gender: string, LocalName: string, Locale: string, LocaleName: string, Name: string, ShortName: string, StyleList: string[], VoiceType: string })

new VoiceInfo(json: { DisplayName: string, Gender: string, LocalName: string, Locale: string, LocaleName: string, Name: string, ShortName: string, StyleList: string[], VoiceType: string })

Parameters

json

{ DisplayName: string, Gender: string, LocalName: string, Locale: string, LocaleName: string, Name: string, ShortName: string, StyleList: string[], VoiceType: string }

Property Details

displayName

string displayName

Property Value

string

gender

SynthesisVoiceGender gender

Property Value

SynthesisVoiceGender

locale

string locale

Property Value

string

localeName

string localeName

Property Value

string

localName

string localName

Property Value

string

name

string name

Property Value

string

shortName

string shortName

Property Value

string

styleList

string[] styleList

Property Value

string[]

voicePath

string voicePath

Property Value

string

voiceType

SynthesisVoiceType voiceType

Property Value

SynthesisVoiceType