How to Get the Installed Voices in Windows Phone?

If you want to retrieve the list of all the Installed Voices Programatically from Windows Phone using C# , you could use the static InstalledVoices class which provides the static property of “All” which is of type IReadOnlyList<VoiceInformation> which retrieves list of Installed Voices from your Windows Phone

How to Get the Installed Voices in Windows Phone?

How to Get the Installed Voices in Windows Phone?

The below sample code gets the installed voices from the windows phone and displays some of the properties of the voice.

List<VoiceInformation> voiceinfos = (from voice in InstalledVoices.All

select voice).ToList();

foreach (VoiceInformation voice in voiceinfos)

{

Debug.WriteLine("Gender = " + voice.Gender + "," + "Language = " + voice.Language + "," + "Description =" + voice.Description);

}

Output

Gender = Female,Language = en-US,Description =Microsoft Zira Mobile – English (United States)

Gender = Male,Language = de-DE,Description =Microsoft Stefan Mobile – German (Germany)

Gender = Male,Language = en-GB,Description =Microsoft George Mobile – English (United Kingdom)

Gender = Female,Language = en-GB,Description =Microsoft Susan Mobile – English (United Kingdom)

Gender = Female,Language = en-IN,Description =Microsoft Heera Mobile – English (India)

Gender = Male,Language = en-IN,Description =Microsoft Ravi Mobile – English (India)

Gender = Male,Language = en-US,Description =Microsoft Mark Mobile – English (United States)

Gender = Female,Language = de-DE,Description =Microsoft Katja Mobile – German (Germany)

Gender = Female,Language = es-ES,Description =Microsoft Laura Mobile – Spanish (Spain)

Gender = Male,Language = es-ES,Description =Microsoft Pablo Mobile – Spanish (Spain)

Gender = Male,Language = es-MX,Description =Microsoft Raul Mobile – Spanish (Mexico)

Gender = Female,Language = es-MX,Description =Microsoft Sabina Mobile – Spanish (Mexico)

Gender = Female,Language = fr-FR,Description =Microsoft Julie Mobile – French (France)

Gender = Male,Language = fr-FR,Description =Microsoft Paul Mobile – French (France)

Gender = Male,Language = it-IT,Description =Microsoft Cosimo Mobile – Italian (Italy)

Gender = Female,Language = it-IT,Description =Microsoft Elsa Mobile – Italian (Italy)

Gender = Female,Language = ja-JP,Description =Microsoft Ayumi Mobile – Japanese (Japan)

Gender = Male,Language = ja-JP,Description =Microsoft Ichiro Mobile – Japanese (Japan)

Gender = Male,Language = pl-PL,Description =Microsoft Adam Mobile – Polish (Poland)

Gender = Female,Language = pl-PL,Description =Microsoft Paulina Mobile – Polish (Poland)

Gender = Male,Language = pt-BR,Description =Microsoft Daniel Mobile – Portuguese (Brazil)

Gender = Female,Language = pt-BR,Description =Microsoft Maria Mobile – Portuguese (Brazil)

Gender = Female,Language = ru-RU,Description =Microsoft Irina Mobile – Russian (Russia)

Gender = Male,Language = ru-RU,Description =Microsoft Pavel Mobile – Russian (Russia)

Gender = Male,Language = zh-CN,Description =Microsoft Kangkang Mobile – Chinese (Simplified, PRC)

Gender = Female,Language = zh-CN,Description =Microsoft Yaoyao Mobile – Chinese (Simplified, PRC)

Gender = Male,Language = zh-HK,Description =Microsoft Danny Mobile – Chinese (Traditional, Hong Kong S.A.R.)

Gender = Female,Language = zh-HK,Description =Microsoft Tracy Mobile – Chinese (Traditional, Hong Kong S.A.R.)

Gender = Female,Language = zh-TW,Description =Microsoft Yating Mobile – Chinese (Traditional, Taiwan)

Gender = Male,Language = zh-TW,Description =Microsoft Zhiwei Mobile – Chinese (Traditional, Taiwan)

How to Get the Installed Voices in Windows Phone?

    1 Comment

  1. Ildar
    October 30, 2013
    Reply

    Why I am getting only 6 voices on Windows Phone 8?

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...