mapluisch / OpenAI-Text-To-Speech-for-Unity

Implementation of OpenAI's Text-To-Speech in Unity. Synthesize any text and play it via any AudioSource.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change to Another Language?

Reditech123 opened this issue · comments

Can you help me, how to choose another language in this program?
Thank You

Hey there,

sadly there's no option to select a certain language when using OpenAI's TTS API: TTS Docs

However,
You can generate spoken audio in these languages by providing the input text in the language of your choice.

and

The TTS model generally follows the Whisper model in terms of language support. Whisper [supports the following languages](https://github.com/openai/whisper#available-models-and-languages) and performs well despite the current voices being optimized for English:

Afrikaans, Arabic, Armenian, Azerbaijani, Belarusian, Bosnian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, Galician, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Kannada, Kazakh, Korean, Latvian, Lithuanian, Macedonian, Malay, Marathi, Maori, Nepali, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Tagalog, Tamil, Thai, Turkish, Ukrainian, Urdu, Vietnamese, and Welsh.

Hope that helps!