IntervalTrainer Alexa Skill
IntervalTrainer is a skill for musicians to continually develop their ears. With proper ear training, a musician is able to pick out melodies, chords, and entire songs completely by ear and away from their instruments.
IntervalTrainer allows you to practice intervals randomly within the octave. You have a choice of ascending or descending intervals or both (by default) to practice your aural recognition skills. Practice ascending and descending interval ear training while you have a few minutes simply by saying "give me an interval", after that, Alexa will keep score for you and update you on your score as you go.
To ensure proper ear training and an un-biased key center, random starting notes are chosen. After each guess, feedback about your answer being right or not is given; and you're updated with your current score after a few attempts. Be sure to use the correct music interval terms: unison, minor second, major second, minor third, major third, perfect fourth, tritone, perfect fifth, minor sixth, major sixth, minor seventh, major seventh, and octave.
After initializing IntervalTrainer with your first interval ("Alexa, as Interval Trainer to give me an interval"), reply back with that interval name ("perfect fourth"), and Alexa will confirm or reject your answer.
To switch interval directions, simply say "switch interval direction to descending" or "switch interval direction to ascending".
You can start over your scoring by saying "reset score" and you'll have a fresh scorecard.
**UPDATED** bug fixes and other improvements regarding incorrect intervals being played.