国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Win10 > 正文

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

2020-05-03 09:18:34
字體:
來源:轉載
供稿:網友

  有位win10用戶向小編咨詢,如何才能讓Cortana朗讀小說呢?Cortana是我們win10系統中的人工智能語音助手,它可以幫我們安排一些日常工作,也能和我們聊天解悶。其實在Cortana中確實是可以朗讀小說的,只是很多的用戶都不知道罷了。不知道也沒有關系,小編今天就跟大家介紹一下如何使用PowerShelll讓Cortana朗讀小說,具體的操作請看下方的圖文教程。

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

  圖1:Cortana

Win10下使用PowerShelll讓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)”選項,單擊“確定”按鈕。

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

  這樣就可以使用微軟小娜朗讀小說了。

  3、下面小編給大家分享一段可以讓PowerShell閱讀小說的代碼。將其復制粘貼并保存為.psl文檔。使用鼠標右鍵單擊選擇“打開方式”-“PowerShell運行”。系統會彈出如下圖所示窗口,將小說文本拽入窗口,按下回車鍵之后你就能聽見小娜的聲音了,再次按下回車鍵就可以退出了。

  = Read-Host -Prompt "把小說拖到此處并回車開始朗讀"

  = New-Object -ComObject SAPI.SpVoice

  .Speak(,5)

  Read-Host -Prompt "回車退出朗讀"

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

  使用以上方法就可以在Win10中讓小娜為您讀書了,感興趣的用戶可以根據小編的步驟自己設置一下喔!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 昌宁县| 留坝县| 屏东县| 嘉鱼县| 乐至县| 双流县| 大化| 合山市| 开原市| 万山特区| 开江县| 临夏县| 永城市| 鹤庆县| 兴仁县| 平江县| 濮阳县| 柳江县| 西青区| 子长县| 胶南市| 宕昌县| 克什克腾旗| 治多县| 方正县| 理塘县| 威远县| 会宁县| 射洪县| 肥西县| 常宁市| 万盛区| 化州市| 宜阳县| 兰州市| 邹城市| 称多县| 中西区| 大悟县| 石阡县| 务川|