Music-theory library based on heptatonic scales, being scales made up of 7 notes over a 12 semitone octave.
The scales implemented are
- The Major Scale
- The Harmonic Minor Scale
- The Harmonic Major Scale
- The Melodic Minor Scale
- The Double Harmonic Scale
- The Neapolitan Minor Scale
- The Neapolitan Major Scale
The library supports changing keys, scales, modes, and chords.
The repo also contains sample usage with a virtual piano demonstrating this functionality.
MIDI playing is implemented using a fork of surikov's WebAudioFont.