tuxeatpi.voice.voice module

Voice component

class tuxeatpi.voice.voice.Voice(settings, tts_queue, logger)

Bases: multiprocessing.context.Process

Define voices component

For now voice use Nuance communications services

is_mute()

Return the mute state

is_speaking()

Check if the tux is currently speaking

mute()

Mute the tux

run()

Text to speech

stop()

Stop process

unmute()

Unmute the the

exception tuxeatpi.voice.voice.VoicesError

Bases: Exception

Base class for voice exceptions