EDCD / EDDI

Companion application for Elite Dangerous
Other
453 stars 82 forks source link

Support for Windows 11 Natural Voices? #2396

Closed lenninscjay closed 1 year ago

lenninscjay commented 2 years ago

With the addition of Windows 11 three new natural sounding TTS voices were added. Aria, Guy, and Jenny. They're installable through the Accessibility<Narrator window. I suspect that Windows 11 actually installs these through the Microsoft Store App which might explain why they don't show up in the normal TTS install directory.

lenninscjay commented 2 years ago

The updated windows 11 Voices are located in the below directories:

C:\Program Files\WindowsApps...

...MicrosoftWindows.Voice.en-US.Aria.1_1.0.6.0_x64cw5n1h2txyewy ...MicrosoftWindows.Voice.en-US.Guy.1_1.0.3.0_x64cw5n1h2txyewy ...MicrosoftWindows.Voice.en-US.Jenny.1_1.0.6.0_x64__cw5n1h2txyewy

The original windows TTS is located in C:\Windows\Speech_OneCore\Engines\TTS\en-US

I tried a brute force copy and paste for the files in the aria directory into the TTS/en-US directory and thought I got it working, with EEDI configured to "Windows Default TTS" but when I when I tried to reproduce it I couldn't.

Tkael commented 2 years ago

I've looked for information on these but have come up empty as far as finding 3rd party developers that have been able to access and implement these in a desktop-only context (i.e. without accessing a rate limited or paid Azure server account). I'm also still on Windows 10 so unable to test the new voices locally.

If you have any information that might be relevant for supporting these voices in EDDI then please do not hesitate to share!

Tkael commented 2 years ago

To support the OneCore voices we needed to add a second Speech Synthesizer library to EDDI. I'd expect that the new Natural Voices would require something similar but I've been unable to find any documentation that doesn't point developers back to server-processed voices with Azure.

Also please note: They may be registry hacks to get this working but we do not want to support or encourage registry hacks.

lenninscjay commented 2 years ago

Tkael, wow, quick response man. Yes, regarding the registry hacks I was just looking through SystemSpeechSynthesizer.cs and saw a couple of comments in there that made me consider digging through registry which I might do myself but wouldn't recommend user wide.

I can't really recommend windows 11 either, but here I am haha. For what it's worth, the new Windows 11 voices are free and sound on par with amazon polly as far as I can tell. So that's promising.

Because it sounds so much like the polly cloud speech, I do think you're on the right track with Azure so it may not be feasible, but I'll keep digging.

Tkael commented 1 year ago

Closing as I don't think it's possible to access these voices without registry hacks at this time (and we can't really support any issues you might encounter if you unlock voices with registry hacks).

Tkael commented 6 months ago

Deleted a necro comment from the dev of a repo that I do not know or think I can endorse, pointing to an application released just a few days old which has no direct bearing on EDDI and which might or might not be trustworthy.