LokerL / tts-vue

🎤 微软语音合成工具,使用 Electron + Vue + ElementPlus + Vite 构建。
https://tts-doc.loker.vip/home.html
MIT License
5.73k stars 829 forks source link

[Bug] exceeded maximum media duration via Azure API with long text #141

Open nirvanalinlei opened 1 year ago

nirvanalinlei commented 1 year ago

While submit long text to receive audio via Azure API, there was a 1007 code error as following:

[2023-08-28 10:27:31.247] [info] Speech synthesis canceled, The processed audio has exceeded the configured maximum media duration of 600000ms websocket error code: 1007 Did you update the subscription info?

this bug is repeatable on my local computer.

LokerL commented 1 year ago

抱歉最近工作很多,不能频繁关注这个项目。下个版本我会尝试修复此BUG。

I'm sorry, I've been busy with work recently and haven't been able to pay close attention to this project. In the next version, I will try to fix this bug.

ElmTran commented 1 year ago

The 10min maximum audio length depends on the Azure subscription. See Real-time text to speech. The current solution is to split the text and splice the audio. But I'm busy looking for a job these days, so I'm sorry I can't help.