Created
December 6, 2017 19:24
-
-
Save silvolu/eb97d641088f1bf5b6f1b677d199ab2b to your computer and use it in GitHub Desktop.
First example of SSML media element.
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
<speak> | |
<par> | |
<media xml:id="question" begin="0.5s"> | |
<speak>Who invented the Internet?</speak> | |
</media> | |
<media xml:id="answer" begin="question.end+2.0s"> | |
<speak>The Internet was invented by cats.</speak> | |
</media> | |
<media begin="answer.end-0.2s" soundLevel="-6db"> | |
<audio | |
src="https://actions.google.com/sounds/v1/cartoon/cartoon_boing.ogg"/> | |
</media> | |
<media repeatCount="3" soundLevel="+2.28dB" | |
fadeInDur="2s" fadeOutDur="0.2s"> | |
<audio | |
src="https://actions.google.com/sounds/v1/animals/cat_purr_close.ogg"/> | |
</media> | |
</par> | |
</speak> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment