Skip to content

Instantly share code, notes, and snippets.


kypflug/SSML.js Secret

Last active October 14, 2016 15:32
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
const ssml2 =
'<?xml version="1.0"?>' +
'<speak version="1.0" xmlns="" ' +
'xmlns:xsi="" ' +
'xsi:schemaLocation=" ' +
'" ' +
'xml:lang="en-US">' +
'<voice gender="female">This is a sample of Speech Synthesis Markup Language.</voice>' +
"<!-- now request a male voice -->" +
'<voice gender="male">' +
'It can be used with the Microsoft Edge Speech Synthesis feature.' +
'</voice>' +
'<!-- now request an alternate male voice -->' +
'<voice gender="male" variant="2">It's a useful way for websites to customize their spoken text.</voice>' +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment