Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Azure语音服务CLI,使用SSML错误代码:1007_Azure_Command Line Interface_Ssml - Fatal编程技术网

Azure语音服务CLI,使用SSML错误代码:1007

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,

我正在使用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, 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>