An Alexa skill that plays a pitch
Click here to view the published skill on Amazon.
To use this skill, try a phrase like the following:
- "Alexa, ask Tone Drone to give me a G"
- "Alexa, ask Tone Drone to sing an A flat"
- "Alexa, ask Tone Drone for a C double flat"
- "Alexa, get a D sharp from Tone Drone"
- "Alexa, start Tone Drone"
At the time of development, Alexa isn't very good at interpreting some of the pitch names, particularly A (unfortunately the most commonly-requested pitch). To help Alexa out, try asking for an "A natural" instead of just an "A".
This repository contains two files that define this skill:
getPitch.js
: this is the AWS Lambda file that powers the skill. It runs on Node.js 6.10 or greater. Make sure the Lamda's Triggers include "Alexa Skills Kit".- Before this file will run, you will need to provide values to both the
APP_ID
and theMP3_BASE_URL
const variables at the top of the script.
- Before this file will run, you will need to provide values to both the
interactionModel.json
: this is the interaction model definition for this skill.