当前位置:win7 > win10教程 >

win10系统朗读小说的操作方法

时间:2021-08-26 10:12:04来源: www.ghostwin8.com 作者:win7 浏览次数:

很多用户都喜欢在电脑上安装win10系统,但是有时候可能会遇到对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如何朗读小说?哪个软件可以朗读小说?

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

Tags: ntfs rund sql adsl


TAGS

热门教程
//