Public Member Functions | |
enqueue_speech_request (self, sr) | |
handle_speech_text (self, existing_property, new_message) | |
handle_speech_request (self, existing_property, new_message) | |
handle_reload_request (self, existing_property, new_message) | |
handle_mute_toggle (self, existing_property, new_message) | |
walkup_handler (self, new_message) | |
reaction_handler (self, new_message, element_name, transition, utterance_choices) | |
preprocess (self, speech) | |
handle_personality_switch (self, properties.IndiProperty prop, new_message) | |
handle_soundboard_switch (self, properties.IndiProperty prop, new_message) | |
load_personality (self, personality_name) | |
setup (self) | |
loop (self) | |
Static Public Attributes | |
AudibleAlertsConfig | config |
Personality | personality |
properties | soundboard_sw_prop = None |
str | default_voice = "coqui-tts:en_ljspeech" |
list | personalities = ['default', 'lab_mode',] |
str | active_personality = "default" |
str | api_url = "http://localhost:5500/" |
bool | mute = False |
dict | latch_transitions [Transition, constants.AnyIndiValue] |
dict | per_transition_cooldown_ts [Transition, float] |
float | last_utterance_ts = 0 |
Optional | last_utterance_chosen = None |
str | observers_device = 'observers' |
Optional | last_walkup = None |
float | last_walkup_ts = 0 |
float | walkup_double_trigger_timeout_sec = 30 |
Protected Attributes | |
_cb_handles | |
_speech_requests | |
Static Protected Attributes | |
set | _cb_handles |
list | _speech_requests [Union[SSML, Recording]] |
audibleAlerts.core.AudibleAlerts.enqueue_speech_request | ( | self, | |
sr | |||
) |
Definition at line 56 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_soundboard_switch(), audibleAlerts.core.AudibleAlerts.handle_speech_request(), and audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.handle_mute_toggle | ( | self, | |
existing_property, | |||
new_message | |||
) |
audibleAlerts.core.AudibleAlerts.handle_personality_switch | ( | self, | |
properties.IndiProperty | prop, | ||
new_message | |||
) |
audibleAlerts.core.AudibleAlerts.handle_reload_request | ( | self, | |
existing_property, | |||
new_message | |||
) |
audibleAlerts.core.AudibleAlerts.handle_soundboard_switch | ( | self, | |
properties.IndiProperty | prop, | ||
new_message | |||
) |
audibleAlerts.core.AudibleAlerts.handle_speech_request | ( | self, | |
existing_property, | |||
new_message | |||
) |
audibleAlerts.core.AudibleAlerts.handle_speech_text | ( | self, | |
existing_property, | |||
new_message | |||
) |
audibleAlerts.core.AudibleAlerts.load_personality | ( | self, | |
personality_name | |||
) |
Definition at line 201 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch().
audibleAlerts.core.AudibleAlerts.preprocess | ( | self, | |
speech | |||
) |
Definition at line 154 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.reaction_handler | ( | self, | |
new_message, | |||
element_name, | |||
transition, | |||
utterance_choices | |||
) |
audibleAlerts.core.AudibleAlerts.walkup_handler | ( | self, | |
new_message | |||
) |
|
staticprotected |
Definition at line 39 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.load_personality().
|
protected |
Definition at line 208 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.load_personality().
Definition at line 40 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.enqueue_speech_request(), and audibleAlerts.core.AudibleAlerts.loop().
|
protected |
Definition at line 259 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.enqueue_speech_request(), and audibleAlerts.core.AudibleAlerts.loop().
|
static |
Definition at line 44 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch(), and audibleAlerts.core.AudibleAlerts.handle_reload_request().
audibleAlerts.core.AudibleAlerts.active_personality |
Definition at line 82 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch(), and audibleAlerts.core.AudibleAlerts.handle_reload_request().
|
static |
|
static |
Definition at line 37 of file core.py.
Referenced by visxCtrl.xapp.VisX.cooling_on_target(), dbIngest.dbIngest.launch_followers(), dbIngest.dbIngest.rescan_files(), adcCtrl.adcCtrl.setup(), corAlign.corAlign.setup(), and efcControl.efcControl.setup().
|
static |
|
static |
|
static |
|
static |
Definition at line 52 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.walkup_handler().
audibleAlerts.core.AudibleAlerts.last_walkup |
Definition at line 260 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.walkup_handler().
|
static |
|
static |
Definition at line 47 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.latch_transitions |
Definition at line 256 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
Definition at line 46 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.mute |
Definition at line 87 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
|
static |
|
static |
Definition at line 48 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.per_transition_cooldown_ts |
Definition at line 257 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
|
static |
Definition at line 38 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_soundboard_switch(), and audibleAlerts.core.AudibleAlerts.walkup_handler().
audibleAlerts.core.AudibleAlerts.personality |
Definition at line 213 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_soundboard_switch(), and audibleAlerts.core.AudibleAlerts.walkup_handler().
|
static |
|
static |