mycroft.audio

mycroft.audio.is_speaking()[source]

Determine if Text to Speech is occurring

Returns

True while still speaking

Return type

bool

mycroft.audio.stop_speaking()[source]

Stop mycroft speech.

TODO: Skills should only be able to stop speech they’ve initiated

mycroft.audio.wait_while_speaking()[source]

Pause as long as Text to Speech is still happening

Pause while Text to Speech is still happening. This always pauses briefly to ensure that any preceeding request to speak has time to begin.