IBM Cloud Docs
Spanish expressive voices

Spanish expressive voices

Speaking styles

Table 1 provides examples of each available style for the <express-as> element for Spanish. To demonstrate the effect of the styles, the table provides two samples for each example. The first sample speaks the text with the default es-LA_DanielaExpressive voice. The second sample speaks the same text with the same voice but with the indicated style. A request that uses the <express-as> element fails if the style is not one of the supported values or is omitted from the element.

Table 1. Speaking styles
Style Example input text Audio sample
cheerful "¡Excelente! ¿Hay algo más en lo que pueda ayudarte?"
"<express-as style="cheerful"> ¡Excelente! ¿Hay algo más en lo que pueda ayudarte? </express-as>"
empathetic "Lamento escuchar que este asunto aún no se ha resuelto, y le pido disculpas."
"<express-as style="empathetic"> Lamento escuchar que este asunto aún no se ha resuelto, y le pido disculpas. </express-as>"
neutral "Durante el otoño, el clima es ventoso."
"<express-as style="neutral"> Durante el otoño, el clima es ventoso. </express-as>"
uncertain "Disculpe, pero ¿le importaría repetir lo que me decía? No logré oirlo bien."
"<express-as style="uncertain"> Disculpe, pero ¿le importaría repetir lo que me decía? No logré oirlo bien. </express-as>"

Emphasizing interjections

For Spanish, we currently support the following interjections - aah, ajá, eh, oh and uf.

Table 2 lists the interjections that the service recognizes and provides examples of how they are pronounced in synthesized speech. The samples use the es-LA_DanielaExpressive voice. The table shows the primary spelling of each interjection. The service recognizes alternative spellings for some of the interjections. For example, oh and ohh produce the same sound, as do uf and uff. However, the service produces slightly different pronunciations for other alternative spellings, such as ah and eeh.

Table 2. Interjections that are emphasized
Interjection Example sentence Audio sample
aah "Aah, ese pago ya fue realizado la semana pasada, y su cuenta quedó saldada."
ajá "¡Ajá, ya logré localizar su pedido! Está en camino y llegará dentro de 24 horas."
eh "Eh, no sé si podremos enviar un técnico a su residencia antes del miércoles."
oh "Oh, claro que podemos guardar su equipaje en consigna hasta la hora de su salida. No hay problemas."
uf "Uf, no creo que pueda concertarle una cita hasta que recibamos sus documentos."

Enabling or disabling interjections with SSML

For Spanish, all interjections are enabled by default, and it is not possible to enable/disable these interjections.

Usage notes for interjections

Keep the following in mind when using interjections:

  • The neutral style does not emphasize interjections to the extent of the default expressive voice or the other styles.