javascript - SSML or IPA TTS on Chrome -


o

i'm trying make app (for myself only) pronounce odd (fantasy) names properly. found chrome's tts api , w3c's speechsynthesis api appear chrome strips ssml tags before speaking remaining text:

<?xml version="1.0"?> <speak version="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">   <!-- phoneme representation cut short exaggerate problem -->   <phoneme alphabet="ipa" ph="t&#x259;mei&#x325;"> tomato </phoneme> </speak> 

how can ssml in jsfiddle pronounced in chrome?

fyi i'm running windows can't use mac-specific pronounication markup.

thanks in advance!


Comments