我花了几天时间尝试在一个与us1和FreeTTS的项目中添加不同的声音,比如us2、us2和us3。我正在Windows上使用Eclipse (64位)
1.-我首先读了Freetts docs freetts-1.2.2-bin\freetts-1.2\lib\freetts.jarAll voices available:
System propertyWill not use MBROLA</em
我正在尝试使用pyttsx3库并运行以下代码engine = pyttsx3.init('sapi')engine.setProperty('voice', voices[1].id)C:\Users\Hp\AppData\Local\Programs\Python\Python38recent ca
我想要微软大卫之声为我的pyttsx3模块。我写了以下代码。对于voices[0].id,它给出了Zira (女声),当我使用voices[1].id时,它显示了错误list is out of index。请帮帮忙。我怎么才能得到大卫之声?import pyttsx3voices = engine.getProperty('voices')
engine.setProperty('voic