如何在 TwiML 中生成半秒暂停? [英] How can I generate a half second pause in TwiML?

查看:19
本文介绍了如何在 TwiML 中生成半秒暂停?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Twilio 的 <Say> 动词来清晰地发音数字序列.我发现很难在每个数字之间产生自然的(半秒)停顿.我该如何正确执行此操作?

I'm trying to use Twilio's <Say> verb to pronounce a sequence of digits clearly. I'm finding it is hard to generate a natural (half-second) pause between each digit. How do I do this correctly?

<Pause> xml 命令只接受秒的整​​数值,所以使用时间太长.

The <Pause> xml command only takes integer values for seconds, so it's too long to use.

推荐答案

来自这里:链接

  • 在说数字时,12345"会被说成1203一百四十五."而1 2 3 4 5"将被说成一二三四五."

  • When saying numbers, '12345' will be spoken as "twelve thousand three hundred forty five." Whereas '1 2 3 4 5' will be spoken as "one two three four five."

逗号和句号等标点符号将被解释为自然由语音引擎暂停.

Punctuation such as commas and periods will be interpreted as natural pauses by the speech engine.

如果您想插入一个长停顿,请尝试使用 动词. 应该放在 标签之外,而不是嵌套在其中.

If you want to insert a long pause try using the <Pause> verb. <Pause> should be placed outside <Say> tags, not nested inside them.

这篇关于如何在 TwiML 中生成半秒暂停?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆