This project demonstrates how to access and test the Alexa Voice Service using a Java client (running on a Raspberry Pi), and a Node.js server.
Shell
Latest commit 077bc29 Jan 13, 2017 @keleric keleric Bug fixes, updated sound files, and more logging
Updates:
 - install-java.sh will now try a second GPG key server if the
   first fails
 - Will copy authentication URL to clipboard if unable to open browser
 - Updated sound files
 - Increased logging

Bug fixes:
 - Fixed missing UnsupportedDirective event in some cases
 - Fixed race condition where Alexa would talk over content

README.md

About the project

This project provides a step-by-step walkthrough to help you build a hands-free Alexa Voice Service (AVS) prototype in 60 minutes, using wake word engines from Sensory or KITT.AI. Now, in addition to pushing a button to "start listening", you can now also just say the wake word "Alexa", much like the Amazon Echo. You can find step-by-step instructions to set up the hands-free prototype on Raspberry Pi, or follow the instructions to set up the push-to-talk only prototype on Linux, Mac, or Windows.

NEW! - Click here for instructions to build the AVS Prototype using a Raspberry Pi and the Conexant 2-Mic Development Kit for Amazon AVS


What is AVS?

Alexa Voice Service (AVS) is Amazon’s intelligent voice recognition and natural language understanding service that allows you as a developer to voice-enable any connected device that has a microphone and speaker.


What's new?

December 8, 2016:

The AVS java sample app for Raspberry Pi has been updated for two changes:

  1. The sample app now supports GPIO triggers for use with the Conexant 2-Mic Development Kit for Amazon AVS. Click here for step-by-step instructions.
  2. The sample app is now officially certified for media and music services.

October 6, 2016:

How is this different from the last Amazon Alexa Pi project? That's easy, two wake word engines are included with this project - TrulyHandsFree from Sensory and Snowboy from KITT.AI. When you're finished, you'll have a working voice-enabled AVS prototype.


Important considerations

  • The earcons associated with the sample project are for prototyping purposes only. For implementation and design guidance for commercial products, please see Designing for AVS and AVS UX Guidelines.

  • Alexa Voice Service Terms & Agreements

  • Usage of Sensory & KITT.AI wake word engines: The wake word engines included with this project (Sensory and KITT.AI) are intended to be used for prototyping purposes only. If you are building a commercial product with either solution, please use the contact information below to enquire about commercial licensing -

  • IMPORTANT: The Sensory wake word engine included with this project is time-limited: code linked against it will stop working when the library expires. The library included in this repository will, at all times, have an expiration date that is at least 120 days in the future. See Sensory's GitHub page for more information on how to renew the license for non-commercial use.


Get Started

You can set up this project on the following platforms. Please choose the platform you'd like to set this up on -