Git Product home page Git Product logo

avs-device-sdk-pi's Introduction

avs-device-sdk-pi

Scripts to enable Alexa voice activation using Picovoice Porcupine


If you like the work, find it useful and if you would like to get me a โ˜• ๐Ÿ˜„ paypal


  1. Follow Amazon's official setup guide from here for the installation procedure.
  2. After the completion of the Alexa installation, install the requisites for Picovoice porcupine using:
sudo apt-get update     
sudo apt-get install python3-pip wmctrl xdotool   
pip3 install pvporcupine    
pip3 install pvrecorder    
  1. Download the alexa_picovoice_trigger.py file from this git.
  2. Create the Access Key in Picovoice console and download the keyword from Picovoice Porcupine git.
  3. For voice activation, open a terminal and enter the following:
wmctrl -l    

Note the id value of the terminal in the extreme left.
6. Start the Alexa's Startsample.sh script from the same terminal.
7. Open the alexa_picovoice_trigger.py script and change the id value given here with the id value noted.
7. Start the Picovoice porcupine trigger using the following syntax:

python3 /home/pi/alexa_picovoice_trigger.py --access_key ${ACCESS_KEY} --keyword_paths ${KEYWORD_PATH_ONE}       
  1. Now, Alexa can be triggered with Picovoice Porcupine wakeword engine.

avs-device-sdk-pi's People

Contributors

shivasiddharth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.