Functions | |
def | handle_audio_end (event) |
def | handle_audio_start (event) |
def | handle_awoken () |
def | handle_complete_intent_failure (event) |
def | handle_mic_get_status (event) |
def | handle_mic_mute (event) |
def | handle_mic_unmute (event) |
def | handle_no_internet () |
def | handle_open () |
def | handle_paired (event) |
def | handle_record_begin () |
def | handle_record_end () |
def | handle_sleep (event) |
def | handle_speak (event) |
def | handle_stop (event) |
def | handle_unknown () |
def | handle_utterance (event) |
def | handle_wake_up (event) |
def | handle_wakeword (event) |
def | main () |
Variables | |
bus = None | |
config = None | |
lock = Lock() | |
loop = None | |
def mycroft.client.speech.__main__.handle_audio_end | ( | event | ) |
Request unmute, if more sources have requested the mic to be muted it will remain muted.
Definition at line 123 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_audio_start | ( | event | ) |
Mute recognizer loop
Definition at line 115 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_awoken | ( | ) |
Forward mycroft.awoken to the messagebus.
Definition at line 50 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_complete_intent_failure | ( | event | ) |
Definition at line 81 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_mic_get_status | ( | event | ) |
Query microphone mute status.
Definition at line 103 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_mic_mute | ( | event | ) |
Definition at line 95 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_mic_unmute | ( | event | ) |
Definition at line 99 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_no_internet | ( | ) |
Definition at line 45 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_open | ( | ) |
Definition at line 139 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_paired | ( | event | ) |
Definition at line 111 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_record_begin | ( | ) |
Definition at line 35 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_record_end | ( | ) |
Definition at line 40 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_sleep | ( | event | ) |
Definition at line 87 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_speak | ( | event | ) |
Forward speak message to message bus.
Definition at line 74 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_stop | ( | event | ) |
Handler for mycroft.stop, i.e. button press
Definition at line 132 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_unknown | ( | ) |
Definition at line 70 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_utterance | ( | event | ) |
Definition at line 61 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_wake_up | ( | event | ) |
Definition at line 91 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.handle_wakeword | ( | event | ) |
Definition at line 56 of file client/speech/__main__.py.
def mycroft.client.speech.__main__.main | ( | ) |
Definition at line 145 of file client/speech/__main__.py.
mycroft.client.speech.__main__.bus = None |
Definition at line 29 of file client/speech/__main__.py.
mycroft.client.speech.__main__.config = None |
Definition at line 32 of file client/speech/__main__.py.
mycroft.client.speech.__main__.lock = Lock() |
Definition at line 30 of file client/speech/__main__.py.
mycroft.client.speech.__main__.loop = None |
Definition at line 31 of file client/speech/__main__.py.