Sample Amazon Alexa app playing predetermined audio on launch.
- Sign up to AWS
- Create a new Lambda function
- Enter the code from main.py
- Sign up to Amazon Management Console
- Set up your Alexa app using ARN from AWS.
The SSML <audio />
component accepts audio satisfying these requirements.
- bitrate at 48kbps
- length <= 90 seconds
- MPEGv2 codec
- available on HTTPS with trusted SSL certificate
You may use FFmpeg for conversions.
ffmpeg -y -i input.mp3 -ar 16000 -ab 48k -codec:a libmp3lame -ac 1 output.mp3
You may use Amazon S3 bucket for hosting.