Hi, Is there pyTTS or some kind of speech module for python 3.0? I can't seem to find it anywhere and I'd really like to try it out.
+1
A:
Festival is the only TTS engine for Linux I know of, and it has pyfestival - http://code.google.com/p/pyfestival/ .
In the past I wrote my own bindings because the interface was so simple.
Forrest
2010-07-18 14:50:22
+1
A:
If you are on window, why don't you directly access SAPI using python com interface, e.g.
import win32com.client
speaker = win32com.client.Dispatch("SAPI.SpVoice")
speaker.Speak("Hello, it works!")
Anurag Uniyal
2010-07-18 15:38:58
I have tried this already but it doesn't work for me. Maybe it's because I'm running 64bit Win 7? (I have installed win32com but I can't import it)
bah
2010-07-19 19:01:28
hmm not sure abt 64bit Win 7, may be that is another question for SO
Anurag Uniyal
2010-07-20 03:05:57
So looks like that I didn't have Microsoft speech sdk installed, but even now when I do have that installed I still can't import it. I read that I have to run makepy (tools | COM makepy utility | ... ) or something to make this work, but I don't seem to find it. Could you help me with this?
bah
2010-08-19 21:08:44
what error you are getting?
Anurag Uniyal
2010-08-20 14:14:09
Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> import win32com.client File "C:\Python31\lib\site-packages\win32com\__init__.py", line 5, in <module> import win32api, sys, osImportError: DLL load failed: The specified module could not be found.
bah
2010-08-22 15:38:13
This is when I try to import win32com.client (import win32com.client)
bah
2010-08-22 15:38:43
May be you said ask a separate question regarding problems with win32com
Anurag Uniyal
2010-08-23 10:32:09