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.

preguntada hace 2 años234 visualizaciones
1 Respuesta
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 hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas