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

调整TTS播放的语速,比如 x1.25,x1.5,x2.0倍数播放,目前的语音速度感觉跟不上输出的文本 #471

Open
zhangbinhui opened this issue Apr 10, 2024 · 2 comments

Comments

@zhangbinhui
Copy link

首先感谢大佬提供的项目。
我翻了一圈issue,发现除非用同一局域网的机器,否则只能用小米自己的tts,我是在阿里云上买的云服务器,所以没法用其他第三方语音,有没有可能在config.json里面增加一个调整播放语速的功能?如题,目前的语音速度感觉跟不上输出的文本,毕竟每次输出的文案都挺长的。
我没啥代码能力,就问一嘴,谢谢。

@yihong0618
Copy link
Owner

小米的 tts 是固定的,应该不行

@zhangbinhui
Copy link
Author

小米的 tts 是固定的,应该不行

好吧,那我试试在笔记本上跑个python,用edge的tts 听听看有没有快一些😄,这个不需要我额外配置Azure的账号吧,直接修改config为:
"tts": "edge",
"edge_tts_voice": "zh-CN-XiaoxiaoNeural",
就可以了吧?

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

2 participants