Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
673 views
in Technique[技术] by (71.8m points)

text to speech - Does TTS API work without network connection on android?

hello i'm a student of engineer school and i was wondering if TTS(Text to Speech) works in offline environment for android.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You require an internet connection for the Text to Speech API, but you can use Text to Speech in offline mode by applying the following settings.

Currently not all devices support offline speech input. However you can follow this discussion to enable offline speech input for supported devices.

1. On your device go to Settings -> Language and Input. Click on the Google voice input icon (text-to-speech output on some devices).
2. Under ALL tab select the language you want to download.
3. Once the language package downloaded, you can see it under INSTALLED tab.

Download all the offline speech models (voices) you require to support offline Text to Speech.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...