khanhuitse05 / speech-and-text-unity-ios-android

Speed to text in Unity iOS use Native Speech Recognition
MIT License
297 stars 126 forks source link

The voice of TTS is too weird and robotic on Android device, hard to understand the words. #28

Closed Fayyish closed 2 years ago

Fayyish commented 4 years ago

I tried to change the setting and the voice doesn't change. Here's my code.

using TextSpeech; const string LANG_CODE = "en-US";

void Start() { Setup(LANG_CODE); StartSpeaking(); } public void StartSpeaking() { string message = "Hello, welcome to Dark Run. Slide up to start the game," + "slide down to quit the game."; TextToSpeech.instance.StartSpeak(message); } void Setup(string code) { TextToSpeech.instance.Setting(code, 1, 1); }

Fayyish commented 4 years ago

Never mind, I found the reason. It's the TTS voice lib on my phone.