为微软的文本转语音服务的 demo 页面添加下载按钮
Can you provide more details? Like: Are you using Download button or Split button? Did the text length warning display? What is the reveived size when this error occurred?
Microsoft limits the length of voice transmission, even if the text length meets the page limit. Normally, the script should detect this and prompt for text splitting.
Maybe different languages have different restrictions.
Thanks for the suggestion about file name. It's hard to guarantee it can get a correct name from the text (imagine some novel file start with ##### or something). I will think about is there a easy way to set the filename manually.
Can you provide more details? Like: Are you using Download button or Split button? Did the text length warning display? What is the reveived size when this error occurred?
It happens when I use the split button, it's not an error due to exceeding the text length. This error can occur in any reveived size.
Microsoft limits the length of voice transmission, even if the text length meets the page limit. Normally, the script should detect this and prompt for text splitting.
Maybe different languages have different restrictions.
I can still paste the part of the document with the error and press the spliting button, then the download is still fully completed with both the part before the error and the part after the error.
For example: I enter a long text "ABCD..." an error will appear while splitting and loading the "C" part, then I re-enter the text "CD..." and press the spliting button then the download will still include "ABCD..."
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Sometimes when downloading a long audio and the network connection is weak, this error will appear. Is there any way to fix it?
Also, I think it would be better if you let the file download name be the first sentence of the document