[python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Alec Bennett
I'm trying to save the output of some TTS to a sound file, is this possible? Here's how I'm doing the TTS, though am certainly open to other methods: import pythoncom, win32com import win32api, win32com.client pythoncom.CoInitialize () s = win32com.client.Dispatch(SAPI.SpVoice) s.Speak(hi

Re: [python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Thomas Heller
Alec Bennett schrieb: I'm trying to save the output of some TTS to a sound file, is this possible? Here's how I'm doing the TTS, though am certainly open to other methods: import pythoncom, win32com import win32api, win32com.client pythoncom.CoInitialize () s =

Re: [python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Michel Claveau
Hi ! I'm trying to save the output of some TTS to a sound file, is this possible? Yes, it's possible. I had done that (save MS-agent's blah-blah), under XP, with Python. But, sorry, I completely forgot how I had proceeded... I remember only that I had used MCI. @-salutations -- Michel

Re: [python-win32] possible to save the output of TTS to a WAV file?

2008-03-07 Thread Tim Golden
Alec Bennett wrote: I'm trying to save the output of some TTS to a sound file, is this possible? Here's how I'm doing the TTS, though am certainly open to other methods: import pythoncom, win32com import win32api, win32com.client pythoncom.CoInitialize () s =