Jump to content

can't use installed TTS voices except for English!!


Recommended Posts

hello everybody 

I've installed on my win 10 many lang voices but only English US is available for "SAPI.SpVoice"

here I can get available voices 

Dim $voic = ObjCreate("SAPI.SpVoice")
Dim $SOTokens = $Voic.GetVoices('', '')
For $Token In $SOTokens
        ConsoleWrite($Token.GetDescription & @LF)
Next

output 

Microsoft David Desktop - English (United States)
Microsoft Zira Desktop - English (United States)

although I've installed Arabic and British voices also

how to make all installed voices available for my script please?

Link to comment
Share on other sites

Have you installed them correctly? See https://support.microsoft.com/en-us/topic/how-to-download-text-to-speech-languages-for-windows-10-d5a6b612-b3ae-423f-afa5-4f6caf1ec5d3

If so, have you restarted your computer since installing them?

If so:

Quote

You might be installing 32-bit voices that are unavailable when using the 64-bit Speech Properties dialog that you normally see on 64-bit Windows.

Try using the 32-bit dialog by invoking %windir%\sysWOW64\speech\SpeechUX\SAPI.cpl.

 

Link to comment
Share on other sites

20 minutes ago, Luke94 said:

Have you installed them correctly? See https://support.microsoft.com/en-us/topic/how-to-download-text-to-speech-languages-for-windows-10-d5a6b612-b3ae-423f-afa5-4f6caf1ec5d3

If so, have you restarted your computer since installing them?

If so:

 

I've installed the languages and voices correctly but they don't shown even in 32-bit dialog!! 😓

tts.jpg

ttsv.jpg

Edited by AlienStar
Link to comment
Share on other sites

Maybe this then? ☹️

Quote

Windows 10 has two different TTS engines installed by default. There are the WinRT speech synthesis APIs (in the Windows.Media.SpeechSynthesis namespace), and the SAPI speech synthesis APIs (in the System.Speech.Synthesis namespace, and the COM ISpVoice interface).

David and Zira are SAPI voices; the language packs install WinRT voices.

The SAPI APIs and voices are legacy APIs, and are not being further developed; all new voices and effort are going into the WinRT APIs and voices.

If you want to use the language pack voices, you'll need to move your application over to WinRT and use the WinRT APIs.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...