Speakenglishi method; As to how to judge whether a character is English or Chinese, I am using the method of judging the ASC code, the concrete class method is implemented through Analysespeak.
In this way, for a piece of Chinese and English mixed text, we simply pass it as a parameter to the Analysespeak, he can complete the mixed pronunciation in English and
Ispeech.org provides free network services such as Chinese speech conversion (translation) and voice commands, and provides free BlackBerry SDK and example programs.
You can register for ispeech.org developer for free, apply for an API Key, download the example program, modify the API Key parameter, and change the English language to the Chinese language, test
C # Speech Recognition (text to speech, voice to text)Recently intends to study the speech recognition, but found that there is very little C # on the Internet, the complete code to put their own learning experience, and share with you.Download API:1) SpeechSDK51.exe (67.0 M
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 TTS engine.
A general understanding of TTS resources:
TTS engine relies on the main languages supported by An
.
--------------------------------------------------------------------------------
3. Developing a Chinese TTS application sample with C #
The following is an example of how to use C # to develop voice applications, the development environment is:
Operating system: Windows 2000 Chinese + SP3
. Net framework:1.0.3705 (English version)
Visual Studio.NET 7.0.9466 (English edition)
First, create a new C # Windo
Ispeech.org offers free BlackBerry SDK and example programs in Chinese voice translation, voice commands and other online services.
You can register for free to apply for ispeech.org developer, application API key, download example program, modify the API key parameters inside, modify the English language for Chinese language, immediately on the BlackBerry handset test
Chinese and English separate, to call the Speakchina method, English call Speakenglishi method; As to how to judge whether a character is English or Chinese, I am using the method of judging the ASC code, the concrete class method is implemented through Analysespeak.
In this way, for a piece of Chinese and English mixed tex
= Result.PhraseInfo.GetText ' gets the command recognized by the speech recognition engine
If Text Wshshell.run Commanddictionary.item (Text) ' Execute your command by the WshShell object Run method
Else
Scriptcomplete = True ' End of program flag
End If
End Sub
==================================
X.xml Source
Copy Code code as follows:
speech application. The development environment is:
Operating System: Windows 2000 Chinese version + SP3
. NET Framework: 1.0.3705 (English version)
Visual Studio. NET 7.0.9466 (English version)
First, create a C # windows application project speechapp and add the dotnetspeech Object Library in Solution Explorer on the right of the development environment. Right-click "Reference" and choose "add re
dotnetspeech. dll.
3. Use C # To develop a Chinese TTS application example
The following example shows how to use C # To develop a speech application. The development environment is:
Operating System: Windows 2000 Chinese version + SP3
. NET Framework: 1.0.3705 (English version)
Visual Studio. NET 7.0.9466 (English version)
First, create a W
to brush toilets, to wait for foreigners, to do the things of our ancestors eight generations! ' (applause) So, my students are learning English very well. If an English teacher in class said: ' Students, today we have to learn English. English is the world language, is the world's most beautiful language! A nation that can't speak English is a lowly nation, and English is so beautiful! That's great! ' Do you think the teacher wants a spanking? So I always tell these teachers: to teach my stude
); spfilestream. close () ;}} catch (exception er) {MessageBox. Show ("an error occured! "," Speechapp ", messageboxbuttons. OK, messageboxicon. Error );}}Next, configure the current language of the speech SDK engine on the control panel. Open "Control Panel", open the "Voice" configuration item, and you can see where we can identify or synthesize the current language, you can also configure related hardware devices and control the language speed. (4)
of charge on Microsoft's website. The current version is 5.1. To support Chinese, you must download the additional Language Pack (langpack.To use this SDK in VC, you must add the include and Lib directories of the SDK to the project to avoid adding directories to every project. The best way isOption-> directoris must add the SDK's include and Lib directories.
A simple exampleLet's take a look at an example of Getting Started:
# Include
In just over
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 TTS engine and voice packet.In the project, the first use of the hand is said TTS, free version, feel the sou
synthesize the current language, you can also configure related hardware devices and control the language speed. (4)Screen. width-333) {This. width = screen. width-333; this. title = 'open new window';} "onmouseover =" If (this. title) {This. style. cursor = 'hand';} "; onclick =" If (this. title) {window. open ('HTTP: // www.microsoft.com/china/community/images/techarticleimages/cnspeech4.jpg');} "cnspeech4.jpg? Border = "0">In the "text-
request.
Microsoft Speech SDK can be downloaded at Microsoft's website for free, the current version is 5.1, in order to support Chinese, but also to download the additional language packs (Langpack).
In order to use this SDK in VC, must add the SDK in the project include and Lib directory, in order to avoid each project to add a catalog, the best way is in VC
Option->directoris Plus SDK's include and L
synthesize the current language, you can also configure related hardware devices and control the language speed. (4)
In the "text-speech conversion" "speech selection" combo box, select Simplified Chinese (Microsoft Simplified Chinese ). In this way,
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
: Http://greenvm.googlecode.com/files/JTTSEngine.7z(Examples and source code are included. Currently, only DLL encapsulation is provided)
As we all know, TTS is short for Text to Speech, that is, "converting Text to Speech ".
The main function of TTS technology is to use computers to synthesize human languages and con
The first scenario:Use Microsoft Text to Speech engine (TTS) to read text(1) Add a project reference to the Microsoft Speech Object Library(2) introducing a using Speechlib name control(3) Reading textSpeechvoicespeakflags flag = Speechvoicespeakflags.svsflagsasync; SpVoice voice = new SpVoice ();Default to the corresp
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.