wzpan / wukong-robot

🤖 wukong-robot 是一个简单、灵活、优雅的中文语音对话机器人/智能音箱项目,支持ChatGPT多轮对话能力,还可能是首个支持脑机交互的开源智能音箱项目。
https://wukong.hahack.com/
MIT License
6.26k stars 1.33k forks source link

edge-tts 合成失败:Invalid voice 'Tingting' #250

Closed haozhuoyi closed 1 year ago

haozhuoyi commented 1 year ago

百度tts合成正常,切换到edge后会报错,代码是最新版本 1682427912116

haozhuoyi commented 1 year ago

播放的时候还遇到了这样的问题 1682428522672

haozhuoyi commented 1 year ago

还有一些小的error不知是否有关 1682428688946

wzpan commented 1 year ago

edge-tts 并没有 Tingting 这个发音人,请在配置文件中增加 edge-tts 的配置,指定存在的发音人。例如:

# 基于 edge 浏览器的在线 TTS 服务
edge-tts:
    # 命令行执行 edge-tts --list-voices 可以打印所有音色
    # 中文推荐 `zh` 开头的音色
    voice: zh-CN-XiaoxiaoNeural
haozhuoyi commented 1 year ago

感谢!大佬早点休息!