Playing Sounds - Alternative Method (Using Notify) #2262
Benjamin-299
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
Since I have several echo devices (and lots of door/window sensors around the house) I wanted to play a tone when an exterior door was opened or closed. Following the wiki I setup some tests using the known sounds, but wasn't happy with the options.
I tried many other sounds from the Alexa sound library but nothing would work for me when trying to play the sounds with the media play service.
After looking more at the APLA and SSML documentation from Amazon (and lots of failed attempts) I found another way to play these sounds! Instead of using the media play service, the notify.alexa_media service can be used with the sounds found in the Alexa sound library as part of the message.
I had looked around but never found much discussion around playing the other media files. Hopefully someone else may be able to take advantage of what I've found. Unsure if this is something that should be documented in the wiki or not, so just starting here.
Details
This example was given on the Alexa developer documentation for playing a sound with a spoken message:
With the alexa media player component, we can call these audio files as part of notifications!
Extras
Node Red:
Beta Was this translation helpful? Give feedback.
All reactions