时间:2017-07-14 15:05作者:Blank来源:本站整理人气:999我要评论(0)
有位win10用户向小编咨询,如何才能让Cortana朗读小说呢?Cortana是我们win10系统中的人工智能语音助手,它可以帮我们安排一些日常工作,也能和我们聊天解闷。其实在Cortana中确实是可以朗读小说的,只是很多的用户都不知道罢了。不知道也没有关系,小编今天就跟大家介绍一下如何使用PowerShelll让Cortana朗读小说,具体的操作请看下方的图文教程。
图1:Cortana
图2:微软小娜
1、首先将下面小编列出来的代码复制粘贴到.psl文件中保存好,没有可以创建一个。然后运行PowerShell,将.psl文件执行一次。
= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuM"
= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"
= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuM"
= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"
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_OneCoreEnginesTTSzh-CNMSTTSLoczhCN.dat"
New-ItemProperty -Path , -Name LangUpdateDataDirectory -PropertyType string -Value "%SystemDrive%DataSharedDataSpeech_OneCoreEnginesTTSzh-CN"
New-ItemProperty -Path , -Name VoicePath -PropertyType string -Value "%windir%Speech_OneCoreEnginesTTSzh-CNM2052Hongyu"
New-ItemProperty -Path , -Name VoiceUpdateDataDirectory -PropertyType string -Value "%SystemDrive%DataSharedDataSpeech_OneCoreEnginesTTSzh-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"
2、运行“控制面板”,在界面中找到“语音识别”选项并单击打开。在新的界面中单击“文本到语音转换”选项,并在预约选择中选中“Microsoft Hongyu Mobile - Chinese (Simplified, PRC)”选项,单击“确定”按钮。
这样就可以使用微软小娜朗读小说了。
3、下面小编给大家分享一段可以让PowerShell阅读小说的代码。将其复制粘贴并保存为.psl文档。使用鼠标右键单击选择“打开方式”-“PowerShell运行”。系统会弹出如下图所示窗口,将小说文本拽入窗口,按下回车键之后你就能听见小娜的声音了,再次按下回车键就可以退出了。
= Read-Host -Prompt "把小说拖到此处并回车开始朗读"
= New-Object -ComObject SAPI.SpVoice
.Speak(,5)
Read-Host -Prompt "回车退出朗读"
使用以上方法就可以在Win10中让小娜为您读书了,感兴趣的用户可以根据小编的步骤自己设置一下喔!
相关阅读 win10系统提示注册表被管理员禁用的解决方法win10系统关闭电脑摄像头的方法步骤利用本地组策略编辑器解决win10系统禁止安装软件的方法win10系统设置默认浏览器的方法步骤win10桌面经常自动刷新的解决方法win10系统玩LOL提示服务器连接异常的解决方法win10系统强制进入安全模式的方法巧用注册表解决win10系统网络不能上网的方法win10系统搜索功能不能用的解决方法win10提示错误代码0xc000012f的解决方法
热门文章
修复Win10蓝屏system thread exception not handled的方法
修复win10蓝屏提示“critical process died”的方法
解决win10系统“重置电脑时出现问题 未进行任何更改”的方法
修复win10蓝屏提示“critical_structure_corruption”的方法
最新文章
win10系统提示注册表被管理员禁用的解决方法
win10系统关闭电脑摄像头的方法步骤
利用本地组策略编辑器解决win10系统禁止安装软件的方法win10系统设置默认浏览器的方法步骤win10桌面经常自动刷新的解决方法win10系统玩LOL提示服务器连接异常的解决方法
人气排行 修复Win10蓝屏system thread exception not handled的方法修复win10蓝屏提示“critical process died”的方法解决win10系统“重置电脑时出现问题 未进行任何更改”的方法Win10提示此应用无法在你的电脑上运行的解决方法修复win10蓝屏提示“critical_structure_corruption”的方法删除win10自动更新下载文件的方法win10系统svchost.exe占用网速解决方法修复win10“你的设备已过期 并缺少重要的安全和质量更新”的方法
盖楼回复X
(您的评论需要经过审核才能显示)
查看所有0条评论>>