示例#1
0
 def give_output(self, response_obj):
     JenniferTerminalClient.give_output(self, response_obj)
     response = response_obj.to_text()
     os.system('say "{}"'.format(response))
示例#2
0
 def regain_control(self):
     JenniferTerminalClient.regain_control(self)
     self.play_sound(self._on_beep_file)
示例#3
0
 def give_up_control(self):
     JenniferTerminalClient.give_up_control(self)
     self.play_sound(self._off_beep_file)
示例#4
0
 def new_notification(self):
     """Called whenever a new notification has been pushed into the queue"""
     self.play_sound(self._notification_beep_file)
     JenniferTerminalClient.new_notification(self)