From the course: Developing Skills for AWS Alexa

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding and playing media

Adding and playing media - Amazon Web Services (AWS) Tutorial

From the course: Developing Skills for AWS Alexa

Start my 1-month free trial

Adding and playing media

- In addition to modifying speech, SSML also allows us to play short audio files in an Alexa response. If you Google ASK sound library, you'll see a page on this from Amazon, along with a catalog of free sound effects provided by Amazon. Here you can see some sample SSML. It's the audio tag with a source attribute and a soundbank link. This is not too dissimilar from an HTML href tag. Let's search for a good dog bark for Pizza Dog. If you click on an example here, you can hit play. (dog barking) All right, that's perfect. We'll take this tag right here, copy it, or you can press the button here to copy, and go back to the test tab. Let's paste it between these speak attributes and click play. (dog barking) All right, now we just want to head back to the code tab and paste this in as we would with any other SSML right here after welcome to Pizza Dog. Let's deploy that and see how our invocation sounds now.…

Contents