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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠