hasscc / hass-edge-tts

🗣️ Microsoft Edge TTS for Home Assistant, no need for app_key
357 stars 62 forks source link

提示no tts from edge_tts for …… #8

Closed bokeylee closed 2 years ago

bokeylee commented 2 years ago
截屏2022-06-16 14 25 52

提示no tts from edge_tts for …… 本来大半年一直用的好好的,今天突然就不行了

sasukebinbin commented 2 years ago

我的也是. 发现是style出现问题了,只要不加style就没有问题

zhangguangjin commented 2 years ago

我的也是.发现是style出现问题了,只要不加style就没有问题

楼上的朋友,我也是同样的问题,我去掉style还是不行,你能贴个具体的配置来参考下吗?

rany2 commented 2 years ago

Hey everyone, I'm the edge-tts mainainer.

Any custom SSML which has the following characteristics is now blocked including:

I think it's better to avoid custom SSML entirely

rany2 commented 2 years ago

Just to be clear it's not my decision, Microsoft noticed and blocked it. I cannot do anything.

rany2 commented 2 years ago

I have removed custom SSML support from the library in 5.0.0. Sorry everyone! https://github.com/rany2/edge-tts/commit/68a9e191d7b00c424fe137390254a7a5c8e41db7

bokeylee commented 2 years ago

thanks for @rany2 @al-one 's helping. problem has been sloved. 感谢二位大佬! For homeassistant user: remove custom 'style', 'styledegree', 'role', 'contour' in configulation.yaml HASS用户把_configulation.yaml_中的语音风格、角色等属性移除即可,只保留单纯的语言设置。 @zhangguangjin easy sample:

tts:
  - platform: edge_tts
    language: zh-CN

custom voice is supported as well: 也可以继续自定义特定的发音人:

tts:
  - platform: edge_tts
    language: zh-CN-XiaoxiaoNeural
zhangguangjin commented 2 years ago

感谢您@rany2@al一的帮助。问题已经被扼杀了。 感谢二位大佬! For homeassistant user: remove custom 'style', 'styledegree', 'role', 'contour' in configulation.yaml HASS用户把_configulation.yaml_中的语音风格、角色等属性移除即可,只保留单纯的语言设置。 @zhangguangjin简单样品:tts:

  • 平台: edge_tts 语言: zh-CN 自定义语音 也支持: 也可以继续自定义特定的发音人: tts:
  • 平台: edge_tts 语言: zh-CN-晓晓神经

谢谢,问题解决!