[Android speech synthesis TTS] mainstream domestic engine comparison, androidttsPS.
TTS is TextToSpeech (from text to language), that is, speech synthesis. TTS intelligently converts text into natural speech streams. TTS technolog
blunt, if the synthesis of voice requirements are not high, you can consider access. Baidu Voice:relying on Baidu Open cloud, Baidu Voice for Partners to provide industry-leading, permanent free voice technology services, has been on-line services including speech recognition, semantic analysis, speech synthesis, follow-up will continue to bring open resources, multi-round dialogue and other technical services; SDK , REST API and offline development packages and other services to meet the devel
I.Basic knowledge
TexttospeechAbbreviationTTS,Called speech synthesis,YesAndroidSlaveVersion 1.6Start to supportNew Features, CanConverts the specified text to audio output in different languages.
Before proceeding to the details, let's take a look at the TTS setting interface of the adnroid system and click Settings-> speech synthesis, as shown in:
Figure 1 Android TT
Comparison between Android Chinese speech synthesis (TTS) Engines
Yao. guet 2012-02-03, reprinted please indicate the source: http://blog.csdn.net/Yao_GUET
Android 1.6 and later versions support TTS (text-to-speech), which we call speech synthesis. Unfortunately, the default TTS
This example describes how Android automatically reads TTS usage. Share to everyone for your reference, specific as follows:
Texttospeech, TTS, is a more important new feature since the Android 1.6 version. Converts the specified text into a different language audio output. It can be easily embedded in a game or appli
Texttospeech (TTS) is an important new feature in Android 1.6. Converts the specified text to audio output in different languages. It can be easily embedded into games or applications to enhance user experience.Before explaining tts api and applying this function to your actual project, you should first have a preliminary understanding of this
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and communication. For more information, indicate the author and its source.
**************************************** **************************************** ************/
1. Introduction to tts:
Texttospeech (
The Android system supports TTS (text-to-speech), which is speech synthesis, starting with version 1.6. But the Android system default TTS engine: Pic TTS does not support Chinese. So we have to install our own
First, the HTML5 voice broadcast example, the specific explanation please consult the relevant documents:HTML5 Voice broadcast function speak (Texttospeak) {//Create an instance of speechsynthesisutterance var utterance = new SpeechsynthesisutterAnce ();Set text Utterance.text = Texttospeak;Added Chinese support Utterance.lang = ' ZH-CN ';Utterance.rate = 0.5; Add to Queue window.speechSynthesis.speak (utterance);}The following is a description of the different ways to implement the voice broadc
();
CheckIntent. setAction (TextToSpeech. Engine. ACTION_CHECK_TTS_DATA );
StartActivityForResult (checkIntent, REQ_TTS_STATUS_CHECK );
Protected void onActivityResult (int requestCode, int resultCode, Intent data ){
If (requestCode = REQ_TTS_STATUS_CHECK)
{
Switch (resultCode ){
Case TextToSpeech. Engine. CHECK_VOICE_DATA_PASS:
// The returned result indicates that
First, Introduction
When writing mobile app, sometimes it is necessary to use text-to-speech (text to Speech) function, such as reading received SMS when driving, navigation voice prompts, the important information in the interface through voice emphasis 、...... Wait
Since the Android Pico TTS does not support Chinese, it is necessary to download Chinese text and read English text, and the Chinese-speakin
Espeak TTS Chinese and English real people pronunciation engine Tcl/tk extension and espeak API example.Please indicate the source when reprint: http://www.tcltk.cn
Watching the Paralympic Games over the past few days is really a big sensation. There are so many spectators cheering for athletes with disabilities, seeing the hard work of athletes on the field, and hearing the stories behind the athletes, som
Now in the development of Android Chinese voice broadcast has a variety of cloud services, SDKs, APIs and so on, but most of the services are required to support the Internet for speech synthesis, in Chinese speech synthesis, Iflytek is undoubtedly the leader, And it also provides downloads for offline speech synthesis packages that need to be paid by distribution and usage time.The Android native API itsel
The Android system supports speech synthesis in five languages (German, English, Spanish, French, and Italian), excluding Chinese. However, the Android system allows third parties to support TTS in Chinese, therefore, we only need to install a suitable third-party TTS application and set it in the system.
There are als
public void onutterancecompleted (String utteranceid) {//TODO auto-generated method stub Log. I (TAG, "Texttospeech.onutterancecompletedlistener"); } }; @Override protected void OnDestroy () {//TODO auto-generated method Stub/* Releases Texttospeech resources */Tts.shutdown ( ); LOG.I (TAG, "Tts.shutdown"); Super.ondestroy (); }}To run an instance effect:TTS understands, specifically, where you can use it to make your application more colorful, and see your personal creativity.SOURC
Use of TexttospeechOfficial API Address: TexttospeechFMX downgrade with Android TTS example:unitmain;interfaceusessystem.sysutils,system.types,system.uitypes, SYSTEM.CLASSES,NBSP;SYSTEM.VARIANTS,NBSP;NBSP;FMX. TYPES,NBSP;FMX. CONTROLS,NBSP;FMX. FORMS,NBSP;FMX. GRAPHICS,NBSP;FMX. DIALOGS,NBSP;FMX. LAYOUTS,NBSP;NBSP;FMX. MEMO,NBSP;FMX. STDCTRLS,NBSP;ANDROID.SPEECH.TTS,NBSP;ANDROIDAPI.JNIBRIDGE,NBSP;NBSP;FMX.
In fact very easy, but some details need attention.About the application of the voice in the Android, we need to download the SDK, and then according to the voice of the audio API on the Android demo on the success of the implementation, that thing is quite simple.Then, we also need to put their own COCOS2DX project on the Android deployment, these online informa
Document directory
Horde3D OGRE3D Irrlicht jmonkey Catcake jPCT-AE min3d gamine Alien3D
With the popularity of android in the world, more and more people are focusing on mobile devices equipped with android. However, due to the limitations of handheld devices, how can we use limited resources to achieve a good experience, this is an issue that must be considered by the device manufacturer. The dazzling i
How to Learn efficiently is the most worth learning.
First import the shelf package, download: http://download.csdn.net/detail/duancanmeng/4060082 lib folder
Like the android program entends activity, we also need extends basegameactivity at the beginning, and four functions must be overloaded:
public class Main extends BaseGameActivity { public void onLoadComplete() { } public Engine
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.