Adding audio updates to python
robgentile
Forums
So, should the need arise to get text prompts from python, I tested it and this works:
- import win32com.client
- speaker = win32com.client.Dispatch("SAPI.SpVoice")
- say_this="Something to say, like now processing the second file"
- speaker.Speak(say_this)
At least, it worked on my system.
I tend to use text prompts for long running scripts to let me know they are still alive. I would not use it within IDEA, but rather for external python scripts.
Anyway, enjoy....
Rob
That is interesting Rob,
That is interesting Rob, thanks for sharing.