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 | |
speech_pub = rospy.Publisher("mycroft/speech", Speech, queue_size=10) | |
def mycroft_stt.handle_audio_end | ( | event | ) |
Request unmute, if more sources have requested the mic to be muted it will remain muted.
Definition at line 127 of file mycroft_stt.py.
def mycroft_stt.handle_audio_start | ( | event | ) |
Mute recognizer loop
Definition at line 119 of file mycroft_stt.py.
def mycroft_stt.handle_awoken | ( | ) |
Forward mycroft.awoken to the messagebus.
Definition at line 53 of file mycroft_stt.py.
def mycroft_stt.handle_complete_intent_failure | ( | event | ) |
Definition at line 85 of file mycroft_stt.py.
def mycroft_stt.handle_mic_get_status | ( | event | ) |
Query microphone mute status.
Definition at line 107 of file mycroft_stt.py.
def mycroft_stt.handle_mic_mute | ( | event | ) |
Definition at line 99 of file mycroft_stt.py.
def mycroft_stt.handle_mic_unmute | ( | event | ) |
Definition at line 103 of file mycroft_stt.py.
def mycroft_stt.handle_no_internet | ( | ) |
Definition at line 48 of file mycroft_stt.py.
def mycroft_stt.handle_open | ( | ) |
Definition at line 143 of file mycroft_stt.py.
def mycroft_stt.handle_paired | ( | event | ) |
Definition at line 115 of file mycroft_stt.py.
def mycroft_stt.handle_record_begin | ( | ) |
Definition at line 38 of file mycroft_stt.py.
def mycroft_stt.handle_record_end | ( | ) |
Definition at line 43 of file mycroft_stt.py.
def mycroft_stt.handle_sleep | ( | event | ) |
Definition at line 91 of file mycroft_stt.py.
def mycroft_stt.handle_speak | ( | event | ) |
Forward speak message to message bus.
Definition at line 78 of file mycroft_stt.py.
def mycroft_stt.handle_stop | ( | event | ) |
Handler for mycroft.stop, i.e. button press
Definition at line 136 of file mycroft_stt.py.
def mycroft_stt.handle_unknown | ( | ) |
Definition at line 74 of file mycroft_stt.py.
def mycroft_stt.handle_utterance | ( | event | ) |
Definition at line 64 of file mycroft_stt.py.
def mycroft_stt.handle_wake_up | ( | event | ) |
Definition at line 95 of file mycroft_stt.py.
def mycroft_stt.handle_wakeword | ( | event | ) |
Definition at line 59 of file mycroft_stt.py.
def mycroft_stt.main | ( | ) |
Definition at line 149 of file mycroft_stt.py.
mycroft_stt.bus = None |
Definition at line 31 of file mycroft_stt.py.
mycroft_stt.config = None |
Definition at line 34 of file mycroft_stt.py.
mycroft_stt.lock = Lock() |
Definition at line 32 of file mycroft_stt.py.
mycroft_stt.loop = None |
Definition at line 33 of file mycroft_stt.py.
mycroft_stt.speech_pub = rospy.Publisher("mycroft/speech", Speech, queue_size=10) |
Definition at line 35 of file mycroft_stt.py.