interactive programme, using pyTTS

carmel stanley cm012b5105 at blueyonder.co.uk
Thu Jun 15 08:26:52 EDT 2006


Hi i have been making an interactive programme,i have recently tried using
"pyTTS" with it.
This is a small ammount of it.

import pyTTS

tts = pyTTS.Create()
tts.Rate = -3
tts.Speak('hi molly how old are you?.')
s = raw_input ("how old are you?")
if s=='3':
    print "thats great"
else: print "tuttut"
tts.speak('tututut')

What i dont get is if i type in "4" it prints "tuttut" but it does not say
it,am i overlooking something here.
allso does any one here know if there is Linux support for such,i have
searched about but cannot find anything.
Thanks nige






More information about the Python-list mailing list