VoiceInformation VoiceInformation VoiceInformation VoiceInformation VoiceInformation Class

Definition

Provides info about an installed speech synthesis engine (voice).

public : sealed class VoiceInformation
struct winrt::Windows::Media::SpeechSynthesis::VoiceInformation
public sealed class VoiceInformation
Public NotInheritable Class VoiceInformation
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Only Microsoft-signed voices installed on the system can be used to generate speech with a SpeechSynthesizer. Each voice generates synthesized speech in a single language, as spoken in a specific country/region.

Here is a list of Microsoft-signed voices provided with Windows.

VoiceGenderWindows 8Windows 8.1NameDisplay name
English USFemaleYYZiraMicrosoft Zira (en-US, female).
English USMaleYYDavidMicrosoft David (en-US, male)
English GBFemaleYYHazelMicrosoft Hazel (en-GB, female)
French FRFemaleYYHortenseMicrosoft Hortense (fr-FR , female)
German DEFemaleYYHeddaMicrosoft Hedda (de-DE, female)
Spanish ESFemaleYYHelenaMicrosoft Helena (es-ES, female)
Chinese PRCFemaleYYHuihuiMicrosoft Huihui (zh-CN, female)
Chinese TWFemaleYYHanhanMicrosoft Hanhan (zh-TW, female)
Japanese JAFemaleYYHarukaMicrosoft Haruka (ja-JP, female)
Korean KRFemaleYYHeamiMicrosoft Heami (ko-KR, female)
Spanish MXFemaleNYSabinaMicrosoft Sabina (es-MX, female)
Italian ITFemaleNYElsaMicrosoft Elsa (it-IT, female)
English INFemaleNYHeeraMicrosoft Heera (en-IN, female)
Russian RUFemaleNYIrinaMicrosoft Irina (ru-RU, female)
Chinese HKFemaleNYTracyMicrosoft Tracy (zh-HK, female)
Polish PLFemaleNYPaulinaMicrosoft Paulina (pl-PL, female)
Portuguese BRFemaleNYMariaMicrosoft Maria (pt-BR, female)

By default, a new SpeechSynthesizer object uses the current system voice (call DefaultVoice to find out what the default voice is).

To specify any of the other speech synthesis (text-to-speech) voices installed on the user's system, use the Voice method (to find out which voices are installed on the system, call AllVoices ).

If you don't specify a language, the voice that most closely corresponds to the language selected in the Language control panel is loaded.

Properties

Description Description Description Description Description

Gets the description of the speech synthesis engine (voice).

DisplayName DisplayName DisplayName DisplayName DisplayName

Gets the display name associated with the speech synthesis engine (voice).

Gender Gender Gender Gender Gender

Gets the gender setting of the speech synthesis engine (voice).

Id Id Id Id Id

Gets the unique ID of the speech synthesis engine (voice).

Language Language Language Language Language

Gets the normalized BCP-47 language tag of the speech synthesis engine (voice).

See also