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

Error: Speech synthesis canceled: CancellationReason.Error #7

Closed
BonexP opened this issue May 6, 2022 · 1 comment
Closed

Error: Speech synthesis canceled: CancellationReason.Error #7

BonexP opened this issue May 6, 2022 · 1 comment
Assignees

Comments

@BonexP
Copy link

BonexP commented May 6, 2022

when i run:
aspeak -l zh-CN -f 从美丽的室友开始.txt -o 从美丽的室友开始.wav
the txt file has 90k chars and 279KB.
and then it shows:
Error: Speech synthesis canceled: CancellationReason.Error Connection was closed by the remote host. Error code: 1007. Error details: Websocket message size cannot exceed 65536 bytes USP state: 3. Received audio size: 0 bytes.
then I only used the first paragraph(4k letters and 12.8KB),and it works well.

imo,it may cause by too large file.

@kxxt kxxt self-assigned this May 6, 2022
@kxxt
Copy link
Owner

kxxt commented May 6, 2022

Yes, and it is documented here: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-services-quotas-and-limits#text-to-speech-quotas-and-limits-per-speech-resource#general

I will point out this limitation in the documentation soon.

@kxxt kxxt closed this as completed in 2c795b4 May 7, 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

2 participants