Text to Speech using Google Cloud
IT DEVELOPER ALIAKSANDR LISAVETS
$4.99
(no ratings)
Jump AssetStore
This package is designed to convert text to voice using Google Cloud.For the code to work, you need to enter the api key in the "TEXT_TO_SPEECH" prefab.An example of usage can be found in GoogleTextToSpeech\Scenes\Example scene.To convert text to an audio clip, use the method:GetSpeechAudioFromGoogle(string textToConvert, VoiceScriptableObject voice, Action audioClipReceived, Action errorReceived) from TextToSpeech classstring textToConvert - text to convertVoiceScriptableObject voice - voice optionsAction audioClipReceived - executed in case of successful conversionAction errorReceived - executed in case of an error_______________________________________________________You can find ready-made voice options in GoogleTextToSpeech\Voices.Or you can create a new set of voice options using Create/GoogleTextToSpeech/Voice.