Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I generate a half second pause in TwiML?

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?

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

like image 547
Clark Avatar asked Sep 27 '12 19:09

Clark


1 Answers

From here: Link

  • 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.

like image 58
jdstankosky Avatar answered Oct 26 '22 03:10

jdstankosky