Ejemplo n.º 1
0
	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")
Ejemplo n.º 2
0
    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")