Public Member Functions | |
def | enqueue_speech_request (self, sr) |
def | handle_speech_text (self, existing_property, new_message) |
def | handle_speech_request (self, existing_property, new_message) |
def | handle_reload_request (self, existing_property, new_message) |
def | handle_mute_toggle (self, existing_property, new_message) |
def | reaction_handler (self, new_message, element_name, transition, utterance_choices) |
def | preprocess (self, speech) |
def | handle_personality_switch (self, properties.IndiProperty prop, new_message) |
def | handle_soundboard_switch (self, properties.IndiProperty prop, new_message) |
def | load_personality (self, personality_name) |
def | setup (self) |
def | loop (self) |
Public Attributes | |
mute | |
personality | |
soundboard_sw_prop | |
default_voice | |
active_personality | |
last_utterance_ts | |
latch_transitions | |
per_transition_cooldown_ts | |
last_utterance_chosen | |
Static Public Attributes | |
SwitchVector | |
str | |
bool | |
float | |
Private Attributes | |
_cb_handles | |
_speech_requests | |
def 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().
def audibleAlerts.core.AudibleAlerts.handle_mute_toggle | ( | self, | |
existing_property, | |||
new_message | |||
) |
def audibleAlerts.core.AudibleAlerts.handle_personality_switch | ( | self, | |
properties.IndiProperty | prop, | ||
new_message | |||
) |
def audibleAlerts.core.AudibleAlerts.handle_reload_request | ( | self, | |
existing_property, | |||
new_message | |||
) |
def audibleAlerts.core.AudibleAlerts.handle_soundboard_switch | ( | self, | |
properties.IndiProperty | prop, | ||
new_message | |||
) |
def audibleAlerts.core.AudibleAlerts.handle_speech_request | ( | self, | |
existing_property, | |||
new_message | |||
) |
def audibleAlerts.core.AudibleAlerts.handle_speech_text | ( | self, | |
existing_property, | |||
new_message | |||
) |
def audibleAlerts.core.AudibleAlerts.load_personality | ( | self, | |
personality_name | |||
) |
Definition at line 175 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch(), and audibleAlerts.core.AudibleAlerts.handle_reload_request().
def audibleAlerts.core.AudibleAlerts.preprocess | ( | self, | |
speech | |||
) |
Definition at line 128 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
def audibleAlerts.core.AudibleAlerts.reaction_handler | ( | self, | |
new_message, | |||
element_name, | |||
transition, | |||
utterance_choices | |||
) |
|
private |
Definition at line 182 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.load_personality().
|
private |
Definition at line 229 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.enqueue_speech_request(), and audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.active_personality |
Definition at line 220 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_personality_switch(), and audibleAlerts.core.AudibleAlerts.handle_reload_request().
audibleAlerts.core.AudibleAlerts.default_voice |
Definition at line 198 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
|
static |
Definition at line 48 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.preprocess().
audibleAlerts.core.AudibleAlerts.last_utterance_chosen |
Definition at line 298 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.last_utterance_ts |
Definition at line 225 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.latch_transitions |
Definition at line 226 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.mute |
Definition at line 82 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.loop().
audibleAlerts.core.AudibleAlerts.per_transition_cooldown_ts |
Definition at line 227 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.reaction_handler().
audibleAlerts.core.AudibleAlerts.personality |
Definition at line 187 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.handle_soundboard_switch(), and audibleAlerts.core.AudibleAlerts.loop().
|
static |
Definition at line 41 of file core.py.
Referenced by audibleAlerts.core.AudibleAlerts.preprocess().