Text to speech component enables a voice assistant to synthesise the resulting speech back to the user once the NLU/NLP service has returned the result.

Built-in text to speech libraries

Aimybox provides a ready to use text to speech libraries that can be used by your voice assistant through a dependencies

Android speechkit
Google Cloud speechkit
Yandex Cloud speechkit

How to use another text to speech engine

If you plan to use another text to speech engine you have to implement TextToSpeech. There are two types of text to speech engines: with SSML support and without it.

If your custom text to speech engine doesn't support SSML out of the box, you have to implement BaseTextToSpeech instead.
Was this article helpful?
Thank you!