Documentation

Vivox Unity SDK

Vivox Unity SDK

Speech-to-text audio transcription

Enable text-to-speech audio transcription in Vivox.
Read time 1 minuteLast updated a year ago

Text-to-speech (TTS) is a feature in the Vivox SDK that is intended to support developers who are pursuing Communications and Video Accessibility Act (CVAA) compliance.
Note
With the built-in engine (
TextToSpeechEngine.Default
), TTS is only available in US English. The native engine (
TextToSpeechEngine.Native
, Vivox Unity SDK 16.13.0 and later on macOS, iOS, tvOS, Android, and Windows 10 and later desktop builds) uses the voices and languages installed on the device. TTS is only supported for one logged in user.
TTS provides a voice channel participant with the ability to convert text messages into synthesized speech that is then transmitted into the voice channel. This allows a user to participate in voice chat even when they might not be able to speak or speak clearly. TTS also provides a user with the ability to convert text chat or game-screen text into synthesized speech for local playback.
You can play a synthesized phrase locally through the user’s output audio device, transmit it and play it back for remote participants, or simultaneously play it locally and transmit it to remote participants.
Note
Unlike with the Vivox Core SDK, the engine wrappers do not require manual initialization of text-to-speech to start using it. Also, clean up is handled automatically.

Related pages

Description

Text-to-speech voice optionsChoose a synthesized voice for your text-to-speech messages.
Text-to-speech destinationsControl where text-to-speech messages are played.
Inject a text-to-speech messageInject a text-to-speech messages into a channel or local audio.
Queue a text-to-speech messageHow to manage a queue of text-to-speech messages.
Cancel a text-to-speech messageCancel an ongoing or queued text-to-speech message.