Skip to content

MarcoPeretti/skill-sample-nodejs-multistream-audio-player

 
 

Repository files navigation

Build A Multi-Stream Audio Alexa Skill with the Audio Player Interface (Node.js)

Summary

This Alexa sample skill is a template for using the AudioPlayer interface for Alexa-hosted skills. The skill consists of an interface model and logic of the skill. This sample contains a sample skill that plays multiple audio, along with handlers for all of the AudioPlayer events, touch controls and error handling. Current playback information is tracked in the DynamoDB table provisioned as part of the Alexa-hosted skill using the DynamoDB persistence adapter.

Getting started

  1. Create a new skill on the Developer Console using the Custom model and select Alexa-hosted (Node.js) as the backend.
  2. When prompted to select a template, click the Import Skill button and paste this repository's web URL.
  3. Edit the constants.js to add your audio files by following the sample format in the same file.
  4. Test the skill - if it doesn't play the audio, there there could be issues with the file format of your audio. In that case, make sure your audio follows the audio file requirements.

Additional Resources

Documentation

Other Samples

Security

See CONTRIBUTING for more information.

License

This library is licensed under the Amazon Software License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%