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) | |
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) | |
Public Attributes | |
active_personality | |
mute | |
soundboard_sw_prop | |
personality | |
default_voice | |
last_utterance_ts | |
latch_transitions | |
per_transition_cooldown_ts | |
api_url | |
last_utterance_chosen | |
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 |
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 51 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 175 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch().
audibleAlerts.core.AudibleAlerts.preprocess | ( | self, | |
speech | |||
) |
Definition at line 128 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.reaction_handler | ( | self, | |
new_message, | |||
element_name, | |||
transition, | |||
utterance_choices | |||
) |
|
staticprotected |
Definition at line 38 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.load_personality().
|
protected |
Definition at line 182 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.load_personality().
Definition at line 39 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.enqueue_speech_request(), and audibleAlerts.core.AudibleAlerts.loop().
|
protected |
Definition at line 229 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.enqueue_speech_request(), and audibleAlerts.core.AudibleAlerts.loop().
|
static |
Definition at line 43 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 77 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch(), and audibleAlerts.core.AudibleAlerts.handle_reload_request().
|
static |
|
static |
Definition at line 36 of file core.py.
Referenced by visxCtrl.xapp.VisX.cooling_on_target(), dbIngest.dbIngest.launch_followers(), dbIngest.dbIngest.rescan_files(), corAlign.corAlign.setup(), and efcControl.efcControl.setup().
|
static |
|
static |
|
static |
|
static |
Definition at line 46 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.latch_transitions |
Definition at line 226 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
Definition at line 45 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.mute |
Definition at line 82 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
|
static |
Definition at line 47 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.per_transition_cooldown_ts |
Definition at line 227 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
|
static |
Definition at line 37 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_soundboard_switch().
audibleAlerts.core.AudibleAlerts.personality |
Definition at line 187 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_soundboard_switch().
|
static |