当前位置: win7下载网 > win10系统教程 > win10系统朗读小说的还原步骤

win10系统朗读小说的还原步骤

时间:2021-09-24 11:54:35 来源:www.cnomit.cn 作者:佚名 浏览次数:

大家对电脑都爱不释手,但偶尔会碰见对win10系统朗读小说进行设置的问题,相信大家都是第一次面对win10系统朗读小说的问题,那么怎样快速对win10系统朗读小说的问题进行设置呢?我们只需要按1、以管理员身份运行 powershell; 2、把下面的代码复制,复制之后粘贴到 powershell 窗口执行命令;的顺序来就搞定了,现在我们就一同详细的学习一下win10系统朗读小说具体操作步骤:

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

Win10如何朗读小说?哪个软件可以朗读小说?

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"

Win10如何朗读小说?哪个软件可以朗读小说?
 
3、按下win+x 打开“控制面板”,找到“语音识别”,点击左侧窗口中的“文本到语音转换”,在“语音选择”框中选择“Microsoft Hongyu Mobile - Chinese (Simplified, PRC)”,然后单击确定按钮;

Win10如何朗读小说?哪个软件可以朗读小说?

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

 
= Read-Host -Prompt "把小说拖到此处并回车开始朗读"
= New-Object -ComObject SAPI.SpVoice
.Speak(,5)
Read-Host -Prompt "回车退出朗读"
 
把txt小说拖到PowerShell窗口中,回车,小娜就会自动为你朗读小说了,再次回车就会退出朗读!

Win10如何朗读小说?哪个软件可以朗读小说?

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

通过小编的解答,大家都知道该怎么解决win10系统朗读小说的操作方法了吧有需要的用户们可以采取上面的方法步骤来进行操作吧,相信这篇文章一定可以帮到大家!

相关教程