亚洲免费在线视频-亚洲啊v-久久免费精品视频-国产精品va-看片地址-成人在线视频网

您的位置:首頁技術文章
文章詳情頁

Win10使用PowerShelll讓Cortana朗讀小說的操作技巧

瀏覽:135日期:2022-10-08 16:20:03

Win10如何使用PowerShelll讓Cortana朗讀小說?Cortana是Win10系統的人工智能助手,可以幫忙處理一些基本任務,比如日程安排、回答問題等,其實Cortana還有更為強大的功能,比如讓Cortana為我們朗讀小說,這才不浪費Cortana甜美的聲音嘛!下面給大家介紹Win10使用PowerShelll讓Cortana朗讀小說的操作技巧。

Win10使用PowerShelll讓Cortana朗讀小說的操作技巧

圖1:Cortana

Win10使用PowerShelll讓Cortana朗讀小說的操作技巧

圖2:來至微軟小娜的問候

Win10如何使用PowerShelll讓Cortana朗讀小說?

1、把下面的代碼復制為.ps1文件保存好,打開PowerShell(管理員),把執行.ps1文件。當然也可以復制之后直接執行命令,都是一樣的效果。

01= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuM"02= "HKLM:SOFTWAREMicrosoftSpeech_OneCoreVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"03= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuM"04= "HKLM:SOFTWAREMicrosoftSpeechVoicesTokensMSTTS_V110_zhCN_HongyuMAttributes"05New-Item -Path ,,,06New-ItemProperty -Path , -Name "(default)" -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"07New-ItemProperty -Path , -Name LangDataPath -PropertyType string -Value "%windir%Speech_OneCoreEnginesTTSzh-CNMSTTSLoczhCN.dat"08New-ItemProperty -Path , -Name LangUpdateDataDirectory -PropertyType string -Value "%SystemDrive%DataSharedDataSpeech_OneCoreEnginesTTSzh-CN"09New-ItemProperty -Path , -Name VoicePath -PropertyType string -Value "%windir%Speech_OneCoreEnginesTTSzh-CNM2052Hongyu"10New-ItemProperty -Path , -Name VoiceUpdateDataDirectory -PropertyType string -Value "%SystemDrive%DataSharedDataSpeech_OneCoreEnginesTTSzh-CN"11New-ItemProperty -Path , -Name 804 -PropertyType string -Value "Microsoft Hongyu Mobile - Chinese (Simplified, PRC)"12New-ItemProperty -Path , -Name CLSID -PropertyType string -Value "{179F3D56-1B0B-42B2-A962-59B7EF59FE1B}"13New-ItemProperty -Path , -Name Version -PropertyType string -Value "11.0"14New-ItemProperty -Path , -Name Language -PropertyType string -Value "804"15New-ItemProperty -Path , -Name Gender -PropertyType string -Value "Female"16New-ItemProperty -Path , -Name Age -PropertyType string -Value "Adult"17New-ItemProperty -Path , -Name DataVersion -PropertyType string -Value "11.0.2013.1022"18New-ItemProperty -Path , -Name SharedPronunciation -PropertyType string -Value ""19New-ItemProperty -Path , -Name Name -PropertyType string -Value "Microsoft Hongyu Mobile"20New-ItemProperty -Path , -Name Vendor -PropertyType string -Value "Microsoft"21New-ItemProperty -Path , -Name PersonalAssistant -PropertyType string -Value "1"復制代碼= "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)”,然后單擊確定按鈕,你就可以讓微軟小娜為你閱讀文本了。閱讀文本內容可以使用帶有文本閱讀功能的文本編輯器,或者使用專門的小說閱讀器,大家自己選一個自己喜歡的就行了。

Win10使用PowerShelll讓Cortana朗讀小說的操作技巧

圖3:選擇小娜的語音

3、下面貼一段用PowerShell閱讀小說的代碼,同樣保存為.ps1文件,然后在.ps1文件上右鍵,選擇“使用“使用PowerShell運行”,之后把txt小說拖到PowerShell窗口中,回車,小娜就會自動為你朗讀小說了,再次回車就會退出朗讀!

01= Read-Host -Prompt "把小說拖到此處并回車開始朗讀"02= New-Object -ComObject SAPI.SpVoice03.Speak(,5)04Read-Host -Prompt "回車退出朗讀"復制代碼= Read-Host -Prompt "把小說拖到此處并回車開始朗讀"= New-Object -ComObject SAPI.SpVoice.Speak(,5)Read-Host -Prompt "回車退出朗讀"

Win10使用PowerShelll讓Cortana朗讀小說的操作技巧

圖4:使用小娜朗讀小說

上述便是讓Cortana為我們朗讀小說的操作方法,喜歡閱讀的伙伴,如果看書看累了,不妨讓小娜為您朗讀哦!

標簽: Windows系統 win10
相關文章:
主站蜘蛛池模板: 初爱视频教程在线观看高清 | 一极毛片| 久久一日本道色综合久久 | 久久黄色免费网站 | 欧美高清不卡 | 一本久久道久久爱 | 久草视频资源 | 欧美精品在欧美一区二区 | 日韩三级免费 | 99国产在线视频 | 亚洲美女视频网站 | 成人国内精品久久久久影院 | 色偷偷亚洲男人天堂 | 亚洲一区二区三区不卡在线播放 | 亚洲一级毛片免费观看 | 国内精品一区二区三区最新 | 欧美日韩第二页 | 免费看欧美日韩一区二区三区 | 极品丝袜高跟91白沙发在线 | 在线视频一区二区三区 | 久久精品中文字幕一区 | 国产丝袜不卡一区二区 | 久久99国产精品免费观看 | 欧美综合另类 | 亚洲综合免费 | 亚洲精品国产精品国自产网站 | 亚洲精品毛片久久久久久久 | 日韩精品小视频 | 日韩精品首页 | 中文在线视频 | 亚洲欧美日韩在线一区 | 在线播放一区二区三区 | 国产一在线 | 国产一区二区久久久 | 美女黄视频在线观看 | 欧美一级视频在线高清观看 | 99视频在线免费看 | 成人午夜大片免费7777 | 91精品国产一区二区三区左线 | 精品欧美一区二区在线观看欧美熟 | 99久久国产综合精品国 |