【问题标题】:How to slow down text to Speech with SSML - voice sounds distorted/warped/ghastly如何使用 SSML 减慢文本到语音的速度 - 语音声音失真/扭曲/可怕
【发布时间】:2012-05-05 02:13:39
【问题描述】:

我正在为 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。

标签: ios text-to-speech voice slowdown ssml


【解决方案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.

【讨论】:

    猜你喜欢
    • 2022-01-21
    • 2019-09-21
    • 2017-10-29
    • 1970-01-01
    • 2015-09-14
    • 2023-03-03
    • 1970-01-01
    • 1970-01-01
    • 2017-06-20
    相关资源
    最近更新 更多