2012-04-24 35 views
0

我正在使用针对iPhone的细微差异龙移动sdk,用于使用文本到语音。
急速的文字是有点快,我想让它变慢,所以用户可以的话。我的目标是慢一点文本。这工作很细跟SSML和韵律标签,查看此代码:如何使用SSML减慢文本到语音 - 语音声音失真/变形/可怕

<prosody rate="slow">This is the text which is spoken slow, 
but the voice sounds distorted/warped/ghastly</prosody> 

的声音听起来扭曲,扭曲和可怕
你明白我的意思吗?
我能做些什么来获得一个清晰的声音慢说的文字

回答

1

从这里取:http://www.w3.org/TR/speech-synthesis/#S3.2.4

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.