You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the info. I somehow missed this issue when you opened it.
It looks like Speech Platform COM is supported on Windows Vista (and up?) I don't have convenient access to a Windows box to test if all of the functions work at the moment. Could you give the unit tests a run and see if they all pass after your change?
I'm thinking either I can treat the two as separate engines, defaulting to the newest one when available and falling back on SAPI when it's not, but also allow manual override using the API in case someone has SP installed but wants to go back to SAPI.
Probably possible. I just need to remember to do it. The project at work I was going to use pyttsx with didn't eventuate. Next time I'm procrastinating I'll see if I can run through the tests on a Windows box.
Hi,
I've discovered that the Microsoft Speech Platform (http://www.microsoft.com/en-au/download/details.aspx?id=27225) shares the same COM interface as the Speech API (SAPI) that comes with windows.
I've been able to use the vastly superior Speech Platform voices from here with pyttsx:
http://www.microsoft.com/en-us/download/details.aspx?id=27224
All I had to do was change the SAPI COM object from:
self._tts = win32com.client.Dispatch('SAPI.SPVoice')
to:
self._tts = win32com.client.Dispatch('{d941651c-44e6-4c17-badf-c36826fc3424}')
As far as I can tell there isn't a nice name for the Speech Platform COM object but it does work.
The text was updated successfully, but these errors were encountered: