Reinteract talks! :-)

7 views
Skip to first unread message

ack

unread,
Nov 21, 2011, 10:16:03 PM11/21/11
to Reinteract
Well, after a night of mostly fruitless hacking, I'm proud to say that
I've made Reinteract talk :-)

Nowhere near polished enough to make it into a plugin, let me say that
recalculating the following worksheet brought words to my ears:

import pyttsx

build pyttsx.init() as speaker:
speaker.say('Sally sells seashells by the seashore.')
speaker.say('The quick brown fox jumped over the lazy dog.')
speaker.runAndWait()

When everything works well enough, just copying pytts module into a
notebook would do the trick.

Kind regards,

ack

ack

unread,
Nov 21, 2011, 10:36:35 PM11/21/11
to Reinteract
Yes, of corse you could like, erm, actually install pyttsx on your
system, but that would take the fun out of hacking on it using
Reinteract, now would it?

Also, the 'build' seems necessary, because otherwise Reinteract will
hang evaluating `speaker.runAndWait()'...

-ack

Reply all
Reply to author
Forward
0 new messages