VBS calls the Chinese voice to let your computer listen to your commands implementation code(国外英文资料).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
VBS calls the Chinese voice to let your computer listen to your commands implementation code(国外英文资料)
VBS calls the Chinese voice to let your computer listen to your commands implementation code(国外英文资料)
VBS calls the Chinese voice to let your computer listen to your commands implementation code
For the VBS to call the Chinese voice and let your computer listen to your commands, you need your friends to refer to it.
If you have office installed, you may not need to install the following software. I installed it because of openoffice
Exe speechsdk51.
CNSpeechPackage. Msi
These two pieces of software. If you let the computer read, refer to the code below
ReadAllTextFile = CreateObject ( Scripting. FileSystemObject ).opentextfile (Wscript. Arguments (0), 1).readall
The Function RegExpTest (patrn STRNG)
Dim regEx, Match, Matches creates variables.
Set regEx = New RegExp builds regular expressions.
The regEx. Pattern = patrn setting mode.
The regEx. IgnoreCase = True setting is case sensitive.
The regex.global = True setting is all available.
Set Matches = regEx. Execute (STRNG).
For Each Match in Matches.
RetStr = RetStr Match.
RetStr = RetStr vbCRLF
Next
RegExpTest = RetStr
End the Function
Set objVoice = CreateObject ( SAPI. SpVoice )
Set objVoice. Voice = objVoice. GetVoices ( Name = Microsoft Simplified Chinese ).item (0)
ObjVoice. Rate = 3 speed: -10, 10, 0
Objvoice.volume = 100 voice: 0, 100, 100
ObjVoice. Speak RegExpTest ( [\ u4e00 - \ u9fa5] , ReadAllTextFile)
You can refer to it after you have finished loading your paper
C: \ Program Files \ MicrosoftSpeech SDK 5.1 \ Samples \ Scripts \ SimpleTTS \ SimpleTTS.html file.
If you let the computer listen to your commands, heres the VBS code
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Name: commandpc-vbs
the AUTHOR: HUAYING
DATE: 2005-1-31
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Dim CommandDictionary comma
您可能关注的文档
- sephadex -LH20(国外英文资料).doc
- Sanki knowledge 1(国外英文资料).doc
- SFC creation of heaven and earth game strategy(国外英文资料).doc
- Shanghai Fried pork chops and Shanghai hot sauce(国外英文资料).doc
- See the baby in your stomach(国外英文资料).doc
- Several important parameters related to fiber optics(国外英文资料).doc
- Shanghai university of finance and economics in 2001, the western economics exam and solutions(国外英文资料).doc
- Shiny Days strategy(国外英文资料).doc
- Silvaco learning experience(国外英文资料).doc
- Short of primary and secondary schools(国外英文资料).doc
- Understanding and prevention of deep vein thrombosis in lower extremities(国外英文资料).doc
- University of central electric major finance major, financial management thesis(国外英文资料).doc
- VOIP voice gateways(国外英文资料).doc
- weishengwu1(国外英文资料).doc
- VRay material(国外英文资料).doc
- Western economics B in the southwest of autumn(国外英文资料).doc
- Vxian procedures(国外英文资料).doc
- Water safety knowledge 6 in 2015(国外英文资料).doc
- weishengwu3(国外英文资料).doc
- What is the tune of 20 years(国外英文资料).doc
最近下载
- L1基础自动化系统的铁区MES的实现.docx VIP
- 2025年山东普通高中学业水平等级考试生物真题及答案 - 副本 .pdf VIP
- PEMS相关模板(PEMS软件开发计划或开发生命周期&可编程医用电气系统(PEMS)检查文件清单).pdf VIP
- 旅游接待业 课件全套 第1--10章 旅游接待业导论---旅游接待业高质量发展.pptx
- 运维服务项目实施组织及管理措施.docx VIP
- 柔性器件材料与结构失效分析.pptx VIP
- IPC-9850中文版.doc
- 2025年四川自贡市中考英语试卷含答案.docx VIP
- 2019年国庆70周年阅兵装备解读报告.pptx
- 2024人教版PEP英语三年级上册全册教学设计教案含反思.pdf
文档评论(0)