Open willwade opened 1 month ago
Sapi. AVSynyh & espeak all support ssml. It's on my radar to do a pr for supporting this as soon as espeak and avsynth done
So I’m actually wondering if windows should have a second driver using the more modern .net api.
Here’s a quick thrown together attempt https://gist.github.com/willwade/cc268ef0b0b0ec106e644eec6835b228
it Would remove problems like #263
That sound very promising!
Please name the file
system_speech.py
instead ofSystemSpeech.py
to align with Python naming.
Yeah. I’m not sure I like the name of that engine. It’s technically the .NET interface. Dotnetspeech synth” I don’t know 🤷
DotNetSpeech
, DotNetSpeechEngine
, DotNetSpeechDriver
Here's a suggestion. There is a need to have a AVSpeechSynth driver for MacOS as Nss is depreciated but also it would allow this tts wrapper to support ssml across the board.
And on windows we also need uwp and sapi4 driver. To make things easier I'm suggesting the default would be a unified driver for each platform. Linux would be still just espeak (unless we can nicely integrate pico / piper or Sherpa onnx*)
This is thrown together code but you can see what I'm thinking https://gist.github.com/willwade/86ef5c0655badc90c2f3fec811c06cde