def __init__(self): self.speaker = tts.Google() self.voice_cmd = VoiceCommand(self.speaker) self.print_welcome() print "Saying: Hello there!" self.speaker.play_wav("./wav/hello.wav")
def __init__(self): self.audioInput = Microphone() self.speaker = tts.Google() self.voice_cmd = VoiceCommand(self.speaker) self._load_ai() self._print_welcome() print "Saying: Hello there!" self.speaker.play_wav("./wav/hello.wav")