# Speaker echo

Say Hey Snips, then you hear a bell. Start speaking. When you are done, the speaker will echo what you say.


## prerequisities
Install mary-tts following the instructions in the pdf

Snips ASR, Snips hotword, Snips audioserver.

Installation:
sudo apt-get update
sudo apt-get install -y dirmngr apt-transport-https
sudo bash -c  'echo "deb https://debian.snips.ai/stretch stable main" > /etc/apt/sources.list.d/snips.list'
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys F727C778CCB0A455

sudo apt-get update
sudo apt-get install -y snips-platform-voice
sudo apt-get install -y snips-platform-demo
sudo apt-get install -y snips-watch
sudo apt-get install -y snips-template snips-skill-server

After installing, download the English language model for the speechrecognition.
Follow the instructions on https://docs.snips.ai/articles/advanced/asr
(if the download doesn't work. Get the model from https://debian.snips.ai/jessie/pool/s/sn/snips-asr-model-en-500MB_0.6.0-alpha.4_amd64.deb)

Then install the required python libraries.

## Usage
Start marytts and snips-asr
Run the echo.py script
