当前位置:主页 > 系统教程 > win7怎么朗读小说?哪个软件可以朗读小说? 详细页面

win7怎么朗读小说?哪个软件可以朗读小说?

发布日期:2013-23-17      作者:小白系统      来源:http://www.03727.com


win7怎么朗读小说?哪个软件可以朗读小说??
小说是非常有趣东西,环境包括自然环境和社会环境,故事情节好的非常引人入胜。由于长时间对着电脑屏幕,眼睛会吃不消!今天主编将给大家共享下win7系统中让电脑自动阅读小说的办法!

步骤:

1、以管理员身份运行 powershell;



2、把下面的代码复制,复制之后粘贴到 powershell 窗口执行命令;

 

= "HKLM:\soFTwARE\Microsoft\speech_oneCore\Voices\Tokens\MsTTs_V110_zhCn_HongyuM"

= "HKLM:\soFTwARE\Microsoft\speech_oneCore\Voices\Tokens\MsTTs_V110_zhCn_HongyuM\Attributes"

= "HKLM:\soFTwARE\Microsoft\speech\Voices\Tokens\MsTTs_V110_zhCn_HongyuM"

= "HKLM:\soFTwARE\Microsoft\speech\Voices\Tokens\MsTTs_V110_zhCn_HongyuM\Attributes"

new-item -path ,,,

new-itemproperty -path , -name "(default)" -propertyType string -Value "Microsoft Hongyu Mobile - Chinese (simplified, pRC)"

new-itemproperty -path , -name Langdatapath -propertyType string -Value "%windir%\\speech_oneCore\\Engines\\TTs\\zh-Cn\\MsTTsLoczhCn.dat"

new-itemproperty -path , -name Langupdatedatadirectory -propertyType string -Value "%systemdrive%\\data\\shareddata\\speech_oneCore\\Engines\\TTs\\zh-Cn"

new-itemproperty -path , -name Voicepath -propertyType string -Value "%windir%\\speech_oneCore\\Engines\\TTs\\zh-Cn\\M2052Hongyu"

new-itemproperty -path , -name Voiceupdatedatadirectory -propertyType string -Value "%systemdrive%\\data\\shareddata\\speech_oneCore\\Engines\\TTs\\zh-Cn"

new-itemproperty -path , -name 804 -propertyType string -Value "Microsoft Hongyu Mobile - Chinese (simplified, pRC)"

new-itemproperty -path , -name CLsid -propertyType string -Value "{179F3d56-1B0B-42B2-A962-59B7EF59FE1B}"

new-itemproperty -path , -name Version -propertyType string -Value "11.0"

new-itemproperty -path , -name Language -propertyType string -Value "804"

new-itemproperty -path , -name Gender -propertyType string -Value "Female"

new-itemproperty -path , -name Age -propertyType string -Value "Adult"

new-itemproperty -path , -name dataVersion -propertyType string -Value "11.0.2013.1022"

new-itemproperty -path , -name sharedpronunciation -propertyType string -Value ""

new-itemproperty -path , -name name -propertyType string -Value "Microsoft Hongyu Mobile"

new-itemproperty -path , -name Vendor -propertyType string -Value "Microsoft"

new-itemproperty -path , -name personalAssistant -propertyType string -Value "1"



 

3、按下win+x 打开“控制面板”,找到“语音识别”,点击左侧窗口中的“文本到语音转换”,在“语音选择”框中选择“Microsoft Hongyu Mobile - Chinese (simplified, pRC)”,然后单击确定按钮;



4、接着将下面这段代码复制到 powershell 中 执行命令:

 

= Read-Host -prompt "把小说拖到此处并回车开始朗读"

= new-object -Comobject sApi.spVoice

.speak(,5)

Read-Host -prompt "回车退出朗读"

 

把txt小说拖到powershell窗口中,回车,小娜就会自动为您朗读小说了,再次回车就会退出朗读!



上述办法只需复制粘贴即可轻松完成,大家快去试试吧!