Text To Speech ( TTS )

Inherit from EasyManager.cs

using EasyCodeForVivox;

public class VivoxManager : EasyManager
{

}

Inject EasyTextToSpeech

using EasyCodeForVivox;
using UnityEngine;
using Zenject;

public class VivoxTextToSpeech : MonoBehaviour
{
    EasyTextToSpeech _textToSpeech;

    [Inject]
    private void Initialize(EasyTextToSpeech textToSpeech)
    {
        _textToSpeech = textToSpeech;
    }
}
circle-info

For more information on the available Text-To-Speech options check out the Vivox Documentationarrow-up-right

Choosing Voice Gender

This method allows you to choose male or female voice. Vivox only supports English Voices

circle-exclamation

EasyManager

EasyTextToSpeech

Local Text-to-Speech (TTS)

Local

Speak TTS Messages Locally. Messages will play over each other

Parameters Include:

EasyManager

EasyTextToSpeech

Local Queued

Speak TTS Messages Locally. Messages will be added to a queue and played in order recieved

Parameters Include:

EasyManager

EasyTextToSpeech

Local Screen Reader

Speak TTS Messages Locally. Messages will replace each other

Parameters Include:

EasyManager

EasyTextToSpeech

Remote Text-to-Speech (TTS)

Remote

Speak TTS Messages Remotely. Messages will play over each other

Parameters Include:

EasyManager

EasyTextToSpeech

Remote Queued

Speak TTS Messages Remotely. Messages will be added to a queue and played in order received

Parameters Include:

EasyManager

EasyTextToSpeech

Remote and Local Text-to-Speech (TTS)

Remote and Local

Speak TTS Messages Remotely and Locally. Messages will play over each other

Parameters Include:

EasyManager

EasyTextToSpeech

Remote and Local Queued

Speak TTS Messages Remotely and Locally. Messages will be added to a queue and played in order received

Parameters Include:

EasyManager

EasyTextToSpeech

Last updated