Extract Chinese pronunciation engine from SAPI 5.1

Source: Internet
Author: User
Tags sapi
Use TTS in. net Article It is mentioned that the SAPI (speech Application Programming Interface) of Version 5.1 can support the Chinese, Japanese, and English languages. Then, we installed SAPI 5.1 and the Language Pack on the lab computer (which can be downloaded here ), it is found that Chinese Speech Recognition (TTS), speech recognition (SR), and Japanese speech recognition are supported. Although Chinese speech is not satisfactory, it is better than some well-known domestic speech engines.
But if you only use TTS, do you also need to install the language pack from the api sdk (more than 100 m in total )? If you want to publish software with speech reading, do you have to use Microsoft's re-release package (SDK redistributables file? After repeated comparisons and research, Mr. Smith found that Sr accounts for a large proportion of the software, and TTS only needs to have an engine. For example, the Chinese TTS is mainly a spttschs. dll file, and there are two lexicon files. Download the compressed file and decompress it to the C: \ Program Files \ common Files folder (for XP and 2003, Win2000 is not clear) based on the original path information ). Of course, you also need to register the engine in the registry. The following is the relevant part of the export: Windows Registry Editor Version 5.00

[ HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ speech \ voices \ tokens \ mssimplifiedchinesevoice ]  
@ = " Microsoft Simplified Chinese "  
" CLSID " = " {AE2CF4DB-3697-45F4-9787-0FC5A37BEB36} "  
" 409 " = " Microsoft Simplified Chinese "  

[ HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ speech \ voices \ tokens \ mssimplifiedchinesevoice \ attributes ]  
" Language " = " 804 "  
" Vendor " = " Microsoft "  
" Name " = " Microsoft Simplified Chinese "  
" Gender " = " Male "  
" Age " = " Adult "  

Save the preceding content as ttscn. reg. Double-click to import the file. In speech on the control panel, you can see that Microsoft Sam has an additional word "Microsoft Simplified Chinese" in voice selection ".
start playing Chinese TTS!

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.