Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/108.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
Ios 如何使用SSML降低文字到语音的速度-语音失真/扭曲/可怕_Ios_Text To Speech_Voice_Slowdown_Ssml - Fatal编程技术网

Ios 如何使用SSML降低文字到语音的速度-语音失真/扭曲/可怕

Ios 如何使用SSML降低文字到语音的速度-语音失真/扭曲/可怕,ios,text-to-speech,voice,slowdown,ssml,Ios,Text To Speech,Voice,Slowdown,Ssml,我正在为iPhone使用nuance dragon mobile sdk,用于将文本转换为语音。 读取的文本有点快,我想让它慢一点,这样用户可以学习单词。我的目标是把课文写慢一点。这对SSML和韵律标记非常有效,请参见以下代码: <prosody rate="slow">This is the text which is spoken slow, but the voice sounds distorted/warped/ghastly</prosody> 这是说得慢的

我正在为iPhone使用nuance dragon mobile sdk,用于将文本转换为语音。
读取的文本有点快,我想让它慢一点,这样用户可以学习单词。我的目标是把课文写慢一点。这对SSML和韵律标记非常有效,请参见以下代码:

<prosody rate="slow">This is the text which is spoken slow,
but the voice sounds distorted/warped/ghastly</prosody>
这是说得慢的文本,
但声音听起来扭曲/扭曲/可怕
声音听起来扭曲、扭曲、可怕
你明白我的意思吗?
我该怎么做才能获得一个清晰的声音慢速的文本

从这里开始:


有没有一种没有“nuance dragon mobile sdk”的方法可以做到这一点?AVSpeechSynthesizer似乎不支持SSML。
rate: a change in the speaking rate for the contained text. Legal values are: 
a relative change or "x-slow", "slow", "medium", "fast", "x-fast", or "default". 
Labels "x-slow" through "x-fast" represent a sequence of monotonically non-decreasing
speaking rates. When a number is used to specify a relative change it acts as a 
multiplier of the default rate. For example, a value of 1 means no change in speaking 
rate, a value of 2 means a speaking rate twice the default rate, and a value of 0.5 
means a speaking rate of half the default rate. The default rate for a voice depends on 
the language and dialect and on the personality of the voice. The default rate for a 
voice should be such that it is experienced as a normal speaking rate for the voice when 
reading aloud text. Since voices are processor-specific, the default rate will be as 
well.