This Alexa skill uses the latest version of the Voxa framework.
- Install and use Node ^v8.10
- Create a new Spotify Application since we need to use the Spotify Web API
- Run
npm install
- Rename the
config/local.json.example
toconfig/local.json
and edit it with all of the requisite fields.
To start a metronome at the tempo of a found song you'll need MP3 recordings of click tracks and upload them to an Amazon Bucket (S3), or you favorite storage service, and make all files public so Alexa can start the audio player with specific file.
Every metronome click track has to be named based on a pattern containing the BPM number so you can replace the {bpm}
placeholder in your url template inside your local config file.
You can find click tracks for free in here from 40 to 200 BPM.
Specify the range of your availables click tracks inside your config file.
If you use VS Code then just hit F5
and it will start the server on debug mode to help you use breakpoints to facilite the app debugging.
You can run the server from a command line running npm run watch
.
Both commands will watch for changes.