hasscc / hass-edge-tts

🗣️ Microsoft Edge TTS for Home Assistant, no need for app_key

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

提示no tts from edge_tts for ……

bokeylee opened this issue · comments

截屏2022-06-16 14 25 52

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

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

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

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

commented

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

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

  • anything with mstts prefix,
  • anything that uses multiple voices in one SSML document
  • anything that uses an advanced prosody feature (basically anything other than pitch, rate, volume)
  • anything that uses the break element
  • most likely a lot more....

I think it's better to avoid custom SSML entirely

commented

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

commented

I have removed custom SSML support from the library in 5.0.0. Sorry everyone! rany2/edge-tts@68a9e19

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

感谢您@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-晓晓神经

谢谢,问题解决!