Text to Speech using Google Cloud

This package allows you to convert text into spoken words using Google Cloud's text-to-speech functionality. To get started, simply enter your API key in the 'TEXT_TO_SPEECH' prefab. For a demonstration of how to use this package, open the 'Example scene' in the 'GoogleTextToSpeech\Scenes' folder.

To convert text to an audio clip, use the 'GetSpeechAudioFromGoogle' method from the 'TextToSpeech' class. This method takes four parameters:

string textToConvert - the text to convert

VoiceScriptableObject voice - voice options

Action audioClipReceived - executed in case of successful conversion

Action errorReceived - executed in case of an error

You can find pre-made voice options in the 'GoogleTextToSpeech\Voices' folder. Alternatively, you can create a new set of voice options using the 'Create/GoogleTextToSpeech/Voice' menu.

Text to Speech using Google Cloud - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

RT-Voice PRO: Text-to-Speech Solution for Unity

RT-Voice PRO: Text-to-Speech Solution for Unity Thumbnail

iOS Text-to-Speech (Native Speech Synthesizer)

iOS Text-to-Speech (Native Speech Synthesizer) Thumbnail

Computer Vision using Google Cloud

Computer Vision using Google Cloud Thumbnail

Efficient Real-Time Speech-to-Text Transcription

Efficient Real-Time Speech-to-Text Transcription Thumbnail

Windows Text-to-Speech Plugin for Unity

Windows Text-to-Speech Plugin for Unity Thumbnail

DeepVoice AI - Text To Voice

DeepVoice AI - Text To Voice Thumbnail