Speech Synthesis Markup Language
Apariencia

Lenguaje SSML (Speech Synthesis Markup Language) es una propuesta de la W3c para que la web y varias aplicaciones que la implementen puedan utilizar el sintetizador de voz de una forma más natural mejorando así la pronunciación, enfatizando ciertas palabras, dar pautas al diálogo, reproducir sonidos, etc. Ya cuenta con muchas compañías que la han adoptado gracias a sus virtudes.[1]
Historia
[editar]Este estándar de W3C es conocido como lenguaje SSML (Speech Synthesis Markup Language) y está basado en JSGF y/o las especificaciones JSML, que son propiedad de Sun Microsystems, Inc., California, U.S.A.
Ejemplos
[editar]Voz
<?xml version="1.0"?><speakversion="1.0"xmlns="http://www.w3.org/2001/10/synthesis"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd"xml:lang="en-US"><voicegender="female">Maryhadalittlelamb,</voice><!-- ahora pedimos una voz de niña diferente --><voicegender="female"variant="2">Itsfleecewaswhiteassnow. </voice><!-- selección específica para una voz --><voicename="Mike">IwanttobelikeMike.</voice></speak>
<speakversion="1.0"xmlns="http://www.w3.org/2001/10/synthesis"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd"xml:lang="en-US"><phonemealphabet="ipa"ph="təmei̥ɾou̥">tomato</phoneme><!-- Este es un ejemplo de IPA al usar entidades de caracteres --><!-- Porque muchas combinaciones entre plataformas/exploradores/editores de texto no copian corectamente el texto Unicode, este ejemplo usa la entidad de caracteres proporcionados por IPA. Normalmente puedes usar directamente la representación de símbolos UTF-8: "təmei̥ɾou̥". --></speak>
Sub
<speakversion="1.0"xmlns="http://www.w3.org/2001/10/synthesis"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd"xml:lang="en-US"><subalias="World Wide Web Consortium">W3C</sub><!-- World Wide Web Consortium --></speak>
<?xml version="1.0"?><speakversion="1.0"xmlns="http://www.w3.org/2001/10/synthesis"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd"xml:lang="en-US">ElXYZcuesta<prosodyrate="-10%">$45</prosody></speak>
<?xml version="1.0"?><speakversion="1.0"xmlns="http://www.w3.org/2001/10/synthesis"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd"xml:lang="en-US">¡Esteesun<emphasis>gran</emphasis>carro! ¡Esaesuna<emphasislevel="strong">gran</emphasis>cuentadebanco! </speak>
Pautas
<?xml version="1.0"?><speakversion="1.0"xmlns="http://www.w3.org/2001/10/synthesis"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd"xml:lang="en-US">Respireprofundo<break/>ahoracontinúe.Presiona1oesperaeltono.<breaktime="3s"/>¡Noteheescuchado!<breakstrength="weak"/>Porfavor,intentadenuevo. </speak>