AlienStar Posted June 30, 2021 Posted June 30, 2021 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?
Luke94 Posted June 30, 2021 Posted June 30, 2021 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.
AlienStar Posted June 30, 2021 Author Posted June 30, 2021 (edited) 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!! 😓 Edited June 30, 2021 by AlienStar
Luke94 Posted June 30, 2021 Posted June 30, 2021 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.
AlienStar Posted July 1, 2021 Author Posted July 1, 2021 1 hour ago, Luke94 said: Maybe this then? ☹️ mmm thanks my friend. it becomes so hard
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now