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.

feita há 2 anos234 visualizações
1 Resposta
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. "

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas