A place to share technical learnings, etc.
aws | jekyll | github | apigateway | serverless | ad | powershell | windows | webdev | nodejs | terraform | consul | nomad | jenkins | traefik | azuread | azure |
It’s pretty easy to add audio to an existing Alexa skill. The biggest trick is probably getting the audio converted into an Alexa-Friendly format. Here’s how I did this:
ffmpeg -i my.mp3 -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 my-converted.mp3
Assuming you already have an existing skill, you can use this simple SSML to refer to your file:
<audio src="https://s3-us-west-2.amazonaws.com/yourbucketname/my_converted.mp3" />