NaturalVoiceSAPIAdapter icon indicating copy to clipboard operation
NaturalVoiceSAPIAdapter copied to clipboard

Register as a OneCore voice as well

Open SnowSquire opened this issue 1 year ago • 3 comments

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 avatar May 19 '24 07:05 SnowSquire

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

SnowSquire avatar May 19 '24 07:05 SnowSquire

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.

gexgd0419 avatar May 19 '24 11:05 gexgd0419

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

Leroy-X avatar May 27 '24 03:05 Leroy-X