Azure语音服务CLI,使用SSML错误代码:1007
我正在使用Azure Speech Service CLI与SSML文件进行合成,但出现以下错误Azure语音服务CLI,使用SSML错误代码:1007,azure,command-line-interface,ssml,Azure,Command Line Interface,Ssml,我正在使用Azure Speech Service CLI与SSML文件进行合成,但出现以下错误 CANCELED: Reason=Error CANCELED: ErrorCode=ConnectionFailure CANCELED: ErrorDetails=Connection was closed by the remote host. Error code: 1007. Error details: Data at the root level is invalid. Line 1,
CANCELED: Reason=Error
CANCELED: ErrorCode=ConnectionFailure
CANCELED: ErrorDetails=Connection was closed by the remote host. Error code: 1007. Error details: Data at the root level is invalid. Line 1, position 1. USP state: 3. Received audio size: 0bytes.
CANCELED: Did you update the subscription info?
我可以使用文本输入的合成,它的工作
以下是我使用的SSML文件(仅是doc的副本):
这是所讲的课文。
我的帐户正在使用“F0”。您需要更正speak节点。您错过了
xmlns:mstts=”http://www.w3.org/2001/mstts“
这是所讲的课文。
您需要更正speak节点。您错过了xmlns:mstts=”http://www.w3.org/2001/mstts“
这是所讲的课文。
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
<voice name="en-US-AriaRUS">
This is the text that is spoken.
</voice>
</speak>
<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US">
<voice name="en-US-AriaRUS">
<prosody rate="0%" pitch="0%">
This is the text that is spoken.
</prosody>
</voice>
</speak>