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.

asked 2 years ago228 views
1 Answer
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. "

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions