- 查询现有语音包信息:脚本
import pyttsx3engine = pyttsx3.init()
voices = engine.getProperty('voices')
for voice in voices:print("Voice:")print(" - ID: %s" % voice.id)print(" - Name: %s" % voice.name)print(" - Languages: %s" % voice.languages)print(" - Gender: %s" % voice.gender)print(" - Age: %s" % voice.age)
python执行结果
- 在本地cmd终端执行regedit查看注册表
呼应上了!!!
-
接下来去官网下载语音包https://www.microsoft.com/en-us/download/details.aspx?id=27224