Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language and other codes missing on Windows 10 #384

Open
soleyhyman opened this issue Nov 13, 2024 · 3 comments
Open

Language and other codes missing on Windows 10 #384

soleyhyman opened this issue Nov 13, 2024 · 3 comments
Labels
engine:sapi Related to sapi code

Comments

@soleyhyman
Copy link

I'm running on Windows 10 and have noticed that when I look at my voice options by running

engine = pyttsx3.init()
    voices = engine.getProperty('voices')

I get a list of available languages, but many of the other fields are left blank, e.g.,

Voice index: 0
id: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_DAVID_11.0
name: Microsoft David Desktop - English (United States)
languages: []
gender: None
age: None

Voice index: 1
id: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\MSTTS_V110_deDE_KatjaM
name: Microsoft Katja - German (Germany)
languages: []
gender: None
age: None

Have you heard of or encountered this before? Thanks!

@willwade willwade added the engine:sapi Related to sapi code label Nov 14, 2024
@willwade
Copy link
Collaborator

yeah - ive always found the age field thats in this library code.. wierd. languages is the biggest concern being empty in my opinion.. that needs investigating

willwade added a commit to willwade/pyttsx3 that referenced this issue Nov 14, 2024
nb; using locale to get correct lang codes that are understandable
willwade added a commit that referenced this issue Nov 15, 2024
SAPI - Language codes and other fields to not be Empty (fix for #384)
@james-trayford
Copy link

Hi! I was wondering if there were any updates to this issue or #361 RE a new PyPI release? We were keen to package pyttsx3 as a dependency for our code before the end of the year, but would need a working PyPI version.

@james-trayford
Copy link

Was able to get this working for Windows 10 using pyttsx3 version 2.99 https://test.pypi.org/project/pyttsx3/2.99/ (using pip install -i https://test.pypi.org/simple/ pyttsx3==2.99 see #361 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine:sapi Related to sapi code
Projects
None yet
Development

No branches or pull requests

3 participants