gexgd0419 / NaturalVoiceSAPIAdapter

Make Azure natural TTS voices accessible to any SAPI 5-compatible application.
MIT License
141 stars 6 forks source link

Register as a OneCore voice as well #4

Closed SnowSquire closed 2 weeks ago

SnowSquire commented 4 months ago

Some programs no longer use the sapi5. for example brave browser, or Calibre by default. i'm not quite sure what the api they use is called, but i believe it is winspeech

SnowSquire commented 4 months ago

https://github..com/kovidgoyal/calibre/blob/master/src/calibre/utils/windows/winspeech.py

gexgd0419 commented 4 months ago

Yes, currently Chromium browsers and UWP apps only support OneCore voices, not SAPI 5 voices.

(But also thanks to that, Microsoft Edge doesn't show a duplicated item for each online voice, when using this engine with Edge voices enabled.)

However, here's what Microsoft says in the documentation about OneCore SpeechSynthesizer:

Only Microsoft-signed voices installed on the system can be used to generate speech.

There's no way this engine could be signed by Microsoft...

Also I haven't found documentation about how to implement your own OneCore TTS engine, so I guess that it's impossible.

Leroy-X commented 4 months ago

So, is it not showing up in Chrome's extension because of OneCore? I'm looking forward to supporting it