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 - Amazon Web Services (AWS) Tutorial
From the course: Developing Skills for AWS Alexa
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.…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Modifying speech with SSML4m 34s
-
(Locked)
Adding and playing media6m 35s
-
(Locked)
Keeping context with session persistence13m 27s
-
(Locked)
Adding a request interceptor3m 41s
-
(Locked)
Manual dialog delegation and slot elicitation8m 11s
-
(Locked)
Handling interruptions by restoring intent state9m 37s
-
(Locked)
Remembering key information with long-term persistence7m 47s
-
(Locked)
Handling yes/no questions9m 5s
-
(Locked)
Restoring data from persistence3m 43s
-
(Locked)
Personalize your skill by requesting user profile data11m 8s
-
(Locked)
Grant and use profile data permissions5m 19s
-
(Locked)
-
-