rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
5.44k stars 556 forks source link

无法在带有参数"style" or "styledegree"的情况下正常工作 #12

Closed georgezhao2010 closed 2 years ago

georgezhao2010 commented 2 years ago

之前是可以的,不知道从何时起,在带有"style"和"styledegree"的情况下,edge-tts无法生成mp3文件,也就是说,现在生成的XML文件中如果包含了,则不能生成mp3文件。不知道是不是微软的锅。

rany2 commented 2 years ago

Seems like Microsoft took notice, Microsoft blocked custom SSML. Nothing I can do about it unfortunately :(

rany2 commented 2 years ago

More things that are now blocked:

Probably a lot more like using contour, etc

rany2 commented 2 years ago

Check comment on https://github.com/hasscc/hass-edge-tts/issues/8#issuecomment-1159784776.

rany2 commented 2 years ago

custom SSML support has been removed https://github.com/rany2/edge-tts/commit/68a9e191d7b00c424fe137390254a7a5c8e41db7