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

Add "Natural Voices" to Voiceover options #233

Open
TotalChris opened this issue Aug 12, 2022 · 11 comments
Open

Add "Natural Voices" to Voiceover options #233

TotalChris opened this issue Aug 12, 2022 · 11 comments
Labels
enhancement New feature or request

Comments

@TotalChris
Copy link

I'm not sure if this is exclusive to Win11, or if there are natural voices on Win10 too, but when I enable a natural voice profile in Windows narrator settings, it doesn't show up in MagicPods as an available voice for voiceover notifications. This would be cool to see!

@steam3d
Copy link
Owner

steam3d commented Aug 13, 2022

Hi. Can you show how to enable it? I can find this on my windows machine.

@DarthAV
Copy link

DarthAV commented Oct 24, 2022

This setting is in the narrator settings seen in the screenshot below.
image

However, it does not look like the natural voices show up in the speech section of settings, even if you add them in narrator.
image

There might be a different way to access these voices programmatically than the legacy voices.

@steam3d
Copy link
Owner

steam3d commented Oct 26, 2022

Unfortunately I do not have such option. Maybe it is specific option of you laptop?

image

@DarthAV
Copy link

DarthAV commented Oct 31, 2022

Are you able to add the natural voices in this menu:
image

image

@steam3d
Copy link
Owner

steam3d commented Nov 1, 2022

I found voice. I will add a task to figure out if it possible to use in external application. This will take a long time because I am making major changes to the logic to optimize the application right now.

@steam3d steam3d added the enhancement New feature or request label Nov 1, 2022
@andrewcincotta
Copy link

Any updates on this?

@steam3d
Copy link
Owner

steam3d commented Nov 30, 2022

I do not have any good news. I did no find how to add it. If you know third party software that already use it let me know.

@steam3d
Copy link
Owner

steam3d commented Nov 30, 2022

Of course I'm still looking for a solution.

@gexgd0419
Copy link

I found a way to use those natural voices. It may not be a "legit" way, though.

The Narrator natural voices are offline (embedded) versions of Azure AI Speech voices. Microsoft limits third-party access to embedded speech models, and requires submitting an application form if you want to use them. Obviously, Microsoft encourages most users to use the online versions of Azure AI Speech voices, which have more features, but require an Internet connection, and cost money.

The Narrator natural voices are encrypted with a key which isn't public. But after some investigation, I extracted the key from a system file SpeechSynthesizerExtension.dll. With the correct key, the Narrator natural voices can be used as embedded speech models in the documented way.

Based on that, I wrote a program NaturalVoiceSAPIAdapter that can make Narrator natural voices accessible to all SAPI 5 compatible programs. So if MagicPods supports SAPI 5 voices, you can install NaturalVoiceSAPIAdapter, then use the natural voices in MagicPods.

But as this is not supported by Microsoft, it can stop working after some system update.

If you are using Windows 10 (17763 or above), you can still install those natural voices using these Microsoft Store links.

@steam3d
Copy link
Owner

steam3d commented May 11, 2024

@gexgd0419 I use speechsynthesizer. I will check if it supports SAPI 5 voices

@gexgd0419
Copy link

It does. IIRC, the whole System.Speech is a wrapper around SAPI 5.

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

No branches or pull requests

5 participants