Skip to content

sapi5 driver does not list all installed voices #397

Open
@hapasa

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions