Text To Speech Audio (TTS)

Text To Speech

When a user submits a text message to a channel the Audio Service converts the text to audio. It then plays the audio in a TTS channel.

Listening to the TTS Channel

When you initialize the Audio Service one of the optional properties is ttsEnabled. When you specify a value of true the user will be connected to the related TTS channel. Any channel text that is converted to audio in your current channel will be heard.

Specifying a TTS Language

When you define the channel you want to connect to you can specify which language the user will speak and hear for TTS. See Supported Language Codes.

Last updated

Logo

© Copyright 2024 ALO.ai, Inc. • All Rights Reserved