Twilioに魔法のキャラクターはありますか?
-
12-11-2019 - |
質問
<Say>
動詞には、発音(私がただ彼らをすべて録音するために多すぎると仮定して)
これまでのところ私が見つけたのは、正しく音節を検出するのに役立つハイフンです。 Adgrokは "AddBrooke"に発音されていますが、「ad-grok」は正しく発音されます。「Pagerduty」は「Pahdgerduty」ですが、「ポケットベルデューティ」は正しいです。
首都は無意味なように見え、スペースは奇妙さを紹介することができます: "Mont re al。""Mont Re Alabama" 発音
解決
Unfortunately, at this time there are no special punctuation marks that can help with pronunciation.
他のヒント
I use spaces and periods sometimes but other that that it can be hard when you are using trade names. Another trick is I wanted it to say mysite.com so i typed "mysite dot com" or spelling out numbers five for 5. I think a lot of it comes down to trial and error.
The standard for doing this is SSML (http://www.w3.org/TR/speech-synthesis/). While Twilio does not support this, Tropo does with their speech synthesis verb 'say'. So, you may do something like this:
answer
say "<speak> I like squirrels!.
I <prosody rate='-10%'>like squirrels!</prosody>
I <prosody rate='-30%'>like squirrels!</prosody>
I <prosody rate='-50%'>like squirrels!</prosody>
</speak>"
hangup