当前位置: win10之家 > win10电脑教程 >

中关村还原win10系统朗读小说的处理步骤

时间:2021-03-18 10:33 作者:win10系统助手 来源:win10系统教程之家

最近小编发现win10系统用户比较关心win10系统朗读小说的问题。想必很多朋友都遇到过win10系统朗读小说的问题吧。最近有不少用户到本站咨询win10系统朗读小说的问题该怎么处理。你只要按照1、以管理员身份运行 powershell; 2、把下面的代码复制,复制之后粘贴到 powershell 窗口执行命令;就可以了。下面小编就给大家介绍一下win10系统朗读小说具体的操作方法:

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

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

2、把下面的代码复制,复制之后粘贴到 powershell 窗口执行命令;
 
= "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_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系统朗读小说的操作方法就给大家介绍到这边了,不会的小伙伴们来跟着小编一起学习吧!还有不明白的小伙伴可以留言给小编来帮你们解惑。

win10下载站-大山系统