Voice output alters when using tag <say-as interpret-as="characters"> in POLLY

0

Amazon Polly question.

I have a sentence, such as "it will be OK."

When I change the script to "It will be <say-as interpret-as="characters">OK</say-as>. "

or to

"It will be O K. "

The output sounds muffled for that sentence only, then goes back to how it sounded in the rest of the script.

I'm using:

  • Neural engine
  • English, US language
  • Matthew, Male voice
  • SSML turned on

The same thing happens when I use any 'interpret as=' tags

Is anyone else running into this issue? It's very distracting and I can't figure out why it is happening.

Thanks for any help you can give me.

已提問 2 年前檢視次數 234 次
1 個回答
0

The neural voices don't support the say-as tags, so for that sentence AWS shifts to the standard voice. Per the documentation, "This option is not currently supported using neural voices. If this SSML code is encountered by Amazon Polly at run-time, the affected sentence will be synthesized using the related standard voice. "

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南