Hi,
> Chat also has text to speech
> it might be tapping into some common library?
There's a remarkable aversion to looking at source code in this
thread. :)
Speak.activity/espeak_cmd.py:
import espeak
...
def speak(self, status, text):
subprocess.call(["espeak", "-w", wavpath, "-p", str(status.pitch),
"-s", str(rate), "-v", status.voice.name, text],
stdout=subprocess.PIPE)
- Chris.
--
Chris Ball <[email protected]>
One Laptop Per Child
_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel