earwax.speech module

Provides the tts object.

You can use this object to output speech through the currently active screen reader:

from earwax import tts
tts.output('Hello, Earwax.')
tts.speak('Hello, speech.')
tts.braille('Hello, braille.')

NOTE: Since version 2020-10-11, Earwax uses Cytolk for its TTS needs.

In addition to this change, there is now an extra speech <earwax.EarwaxConfig.speech configuration section, which can be set to make the output() method behave how you’d like.