Comparison between Android Chinese speech synthesis (TTS) Engines

Source: Internet
Author: User

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 engine is Pico TTS, chinese characters are not supported.

As a result, we have to install our own TTS engine and Language Pack for the vast majority of Chinese people, thus opening the chapter of this article.

With the release of iPhone 4S Siri, voice recognition and speech synthesis (TTS) have become increasingly popular. At the same time, it has attracted a lot of attention to China's two companies: Koda xunfei and jiesheng huatong. Both companies are engaged in Chinese speech recognition and speech synthesis. Here we will only discuss Chinese speech synthesis. As for Chinese speech recognition, the two libraries that provide network recognition are not covered in this article.

Chinese speech synthesis (TTS) can be divided into two categories: one is consistent with the system interface, and the other is not consistent with the system interface.

If it is consistent with the system interface, TTS engine and Language Pack data are separated. Such as the default Pico TTS, svox, and KEDA xunfei. Its Advantage should be that it can use the TTS function through the interface provided by the system, and also facilitate the expansion of multi-country languages. However, it is estimated that there will be some inconvenience. For example, you have to set the role of voice reading and the speed of setting the speed through the system interface.

The other type is not consistent with the system. In most cases, the engine and Language Pack are packaged into an APK package. After installation, call the Chinese speech synthesis function provided by Alibaba Cloud through the specified interface.

In addition to these two methods, some of them directly make the TTS function into a shared library so file, and then call the TTS function through ndk. This is better because TTS engine and Language Pack are not required to be installed, and you can set whether the speaker is male or female or speech speed in the application. Tencent, like the old version, appeared in this form. The typical applications are "listening books" or "vbook". You can find them to learn, because the ndk interface is not very complex, but it may occasionally generate an advertisement for "xxxx". Aha ~~

These two types of TTS engines have their own strengths. You can use the corresponding TTS as needed. However, the quality of each TTS varies greatly ~~~

Next we will discuss the famous Chinese speech synthesis TTS on the menu and their differences.

The first type is consistent with the system interface.

1. Tencent voice tts1.0

In the past, xunfei did not have this TTS that matches the system interface. It was originally in the form of a dynamic library. It was only recently made a brilliant debut in the form of this APK, and the synthesis effect was clear and smooth, it's not really hard, and the English is also quite good. It sounds very comfortable ,,,

Anyone who needs to download and try it out on the cool security network. Remember to download the Language Pack ~.

Http://www.coolapk.com/apk-4526-com.iflytek.tts/

Ii. svox

At the beginning, I started to use svox, which was also very powerful. N-plus languages supported. Chinese not only supports Mandarin, but also Cantonese! But there are some feeling that the word is not very clear, listening is not very good, but fortunately, because most can understand,: http://www.coolapk.com/apk-4192-com.svox.classic.langpack.cmn_chn_fem/

3. Samsung TTS

Samsung TTS supports Korean, Chinese and English. Each word is clearly spoken, but it is not smooth when connected. You can feel it yourself.

Install APK and copy the entire SMT folder to the root directory of the SD card.

Yes: http://115.com/file/e7z2iliv

The second type exists in the form of an independent APK mainly in the following two

1. jietong hwasang

Jietong hwasang is also doing a good job in Chinese speech, and has a fight with KEDA xunfei. It uses the Java reflection mechanism to use the installed TTS class. You need to learn"Jietong voice listening book"In order to probably know how to use the TTS, but it is also good, because it is usually not too long to learn ,,,

The voice of the cute baby inside is quite fun, but it seems that reading English with the baby's voice will cause problems.

TTS voice package: http://www.yingyong.so/app/3/1917.htm

Jettonvoice listening book: http://www.yingyong.so/app/3/1916.htm (to use jettonvoice TTS, this is a necessary learning tool OH ~~)

2. TTS

It is also an independently installed TTS engine. Currently, it seems that only Chinese languages are supported. Its interface is public, and the voice quality is okay. The usage of the interface is described in detail in the routine. If you are interested, please take a look,

Home page: http://shoushuo.com/index.html

For the first TTS Chinese engine that suits the system interface, after installation, you need to install the Language Pack, and then you have to simply set it to use. The method is as follows:

Set-voice input and output-text-to-speech settings, check the corresponding TTS engine, and then set the required TTS in the default engine, then you can listen to the example.

For the second type, there is usually an example of activity that can be listened.

If the system's default TTS engine and language have been set, it is extremely easy to call the system TTS interface. Let's just say the following:

Initialize the TTS Engine

Texttospeech MTTS = new texttospeech (this, initlistener );

Text to Speech

MTTS. Speak ("Chinese TTS", texttospeech. queue_flush, null );

Reclaim

MTTS. Shutdown ();

Of course, you have to consider not installing the TTS engine or Language Pack. The above is just a small example...

Finally, I personally feel that the TTS of Tencent is more natural than the TTS of jietong. It should be the best of all Chinese TTS. You can watch it and use it ,,,

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.