def give_output(self, response_obj): JenniferTerminalClient.give_output(self, response_obj) response = response_obj.to_text() os.system('say "{}"'.format(response))
def regain_control(self): JenniferTerminalClient.regain_control(self) self.play_sound(self._on_beep_file)
def give_up_control(self): JenniferTerminalClient.give_up_control(self) self.play_sound(self._off_beep_file)
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)