Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示no tts from edge_tts for …… #8

Closed
bokeylee opened this issue Jun 16, 2022 · 7 comments
Closed

提示no tts from edge_tts for …… #8

bokeylee opened this issue Jun 16, 2022 · 7 comments

Comments

@bokeylee
Copy link

截屏2022-06-16 14 25 52

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

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

@zhangguangjin
Copy link

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

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

@rany2
Copy link
Collaborator

rany2 commented Jun 19, 2022

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

@rany2
Copy link
Collaborator

rany2 commented Jun 19, 2022

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

@rany2
Copy link
Collaborator

rany2 commented Jun 19, 2022

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

@bokeylee
Copy link
Author

bokeylee commented Jun 20, 2022

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
Copy link

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

谢谢,问题解决!

al-one pushed a commit that referenced this issue Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants