This demo uses say.js which relies on Festival to play an audio stream of the supplied text.
To use this demo project, first clone this repo on your local machine. Then go to your
Resin dashboard and create an application or use one that you've already created. You
have to add the resin remote to your local git repo in order to git push resin master
.
To do that, copy the remote and issue the following command in the folder containing this repo:
git remote add resin [email protected]:username/test.git
You should be able to git push resin master
to your devices!
You can change the text by setting a TEXT
environment variable for your app/device in the Resin dashboard.
Note: If you used an already existing application that you've previously pushed other code
to you will have to do git push --force resin master
the first time to delete the previous
commits.