interactive programme, using pyTTS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • carmel stanley

    #1

    interactive programme, using pyTTS

    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('tutu tut')

    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



Working...