-
-
Save kypflug/a320a8231cc31e484c93c2b201a7d36a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ssml2 = | |
'<?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">' + | |
'<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>' + | |
'</speak>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment