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

sapi5 driver does not list all installed voices #397

Open
hapasa opened this issue Feb 10, 2025 · 0 comments
Open

sapi5 driver does not list all installed voices #397

hapasa opened this issue Feb 10, 2025 · 0 comments

Comments

@hapasa
Copy link

hapasa commented Feb 10, 2025

The current sapi5,py appears to list the voices that are available in the windows registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\

However, a more comprehensive list is in the registry under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech_OneCore\Voices\Tokens\

and this latter list is what Windows Settings -> Speech ->Voices shows.

Also the language attribute is available in the registry, but that is REG_SZ value 409 for English, 407 for German, etc.
I'm not sure how to map that to ISO language code, presumably a ready made mapping table is somewhere.

I'm testing with Windows 10, not sure if Windows 11 is the same.

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

No branches or pull requests

1 participant