Skip to content

Instantly share code, notes, and snippets.

@aarongeorge
Created July 6, 2017 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarongeorge/c7e4165ccc359a25e2255f9acaf71698 to your computer and use it in GitHub Desktop.
Save aarongeorge/c7e4165ccc359a25e2255f9acaf71698 to your computer and use it in GitHub Desktop.
const SCALES = {
// Common
'major': [0, 2, 4, 5, 7, 9, 11],
'natural minor': [0, 2, 3, 5, 7, 8, 10],
'harmonic minor': [0, 2, 3, 5, 7, 8, 11],
'melodic minor': [0, 2, 3, 5, 7, 9, 11],
'major blues': [0, 2, 3, 4, 7, 9],
'minor blues': [0, 3, 5, 6, 7, 10],
'pentatonic major': [0, 2, 4, 7, 9],
'pentatonic minor': [0, 3, 5, 7, 10],
'pentatonic neutral': [0, 2, 5, 7, 10],
'pentatonic blues': [0, 4, 5, 6, 10],
'whole tone': [0, 2, 4, 6, 8, 10],
'octatonic (diminished, h-w)': [0, 1, 3, 4, 6, 7, 9, 10],
'octatonic (diminshed, w-h)': [0, 2, 3, 5, 6, 8, 10, 11],
'Rock \'n\' roll': [0, 3, 4, 5, 7, 9, 10],
'major-minor': [0, 2, 4, 5, 7, 8, 10],
'minor-major': [0, 2, 3, 5, 7, 9, 11],
'hungarian major': [0, 3, 4, 6, 7, 9, 10],
'hungarian minor': [0, 2, 3, 6, 7, 8, 11],
'neapolitan major': [0, 1, 3, 5, 7, 9, 11],
'neapolitan minor': [0, 1, 3, 5, 7, 8, 11],
'ionian': [0, 2, 4, 5, 7, 9, 11],
'dorian': [0, 2, 3, 5, 7, 9, 10],
'phrygian': [0, 1, 3, 5, 7, 8, 10],
'lydian': [0, 2, 4, 6, 7, 9, 11],
'mixolydian': [0, 2, 4, 5, 7, 9, 10],
'aeolian': [0, 2, 3, 5, 7, 8, 10],
'locrian': [0, 1, 3, 5, 6, 8, 10],
// General
'five-note prometheus': [0, 2, 4, 6, 10],
'half-diminished bebop': [0, 1, 3, 5, 6, 7, 8, 11],
'chromatic': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
'jazz minor': [0, 2, 3, 5, 7, 9, 11],
'jazz minor inverse': [0, 1, 3, 5, 7, 9, 10],
'synthetix mixture #5': [0, 2, 4, 6, 8, 9, 10],
'pentatonic \'hard\'': [0, 2, 5, 7, 9],
'pentatonic major #9 b7': [0, 3, 4, 7, 10],
'pentatonic major b2': [0, 1, 4, 7, 9],
'pentatonic major b2 b5': [0, 1, 4, 6, 9],
'pentatonic major b2 b6': [0, 1, 4, 7, 8],
'pentatonic major b3': [0, 1, 3, 6, 9],
'pentatonic major b3 b6': [0, 2, 3, 7, 8],
'pentatonic major b5': [0, 2, 4, 6, 9],
'pentatonic major b6': [0, 2, 4, 7, 8],
'pentatonic major b9': [0, 1, 4, 7, 9],
'pentatonic minor 7 b5': [0, 3, 5, 6, 10],
'pentatonic minor major 6': [0, 3, 5, 7, 9],
'pentatonic minor with added 6': [0, 3, 5, 7, 9, 10],
'pentatonic whole tone': [0, 4, 6, 8, 10],
'primary pentatonic': [0, 2, 4, 7, 9],
'altered diminished': [0, 1, 3, 4, 6, 8, 9],
'altered dominant': [0, 1, 3, 4, 6, 8, 10],
'altered lydian': [0, 2, 4, 6, 8, 9, 11],
'altered mixolydian': [0, 2, 4, 5, 7, 8, 9, 11],
'altered pentatonic': [0, 1, 5, 7, 9],
'anhemitonic hexatonic': [0, 2, 4, 6, 8, 10],
'augmented hexatonic': [0, 3, 4, 7, 8, 11],
'auxiliary diminished': [0, 2, 3, 5, 6, 8, 9, 11],
'diminished b9': [0, 1, 3, 5, 6, 8, 9],
'diminished blues': [0, 1, 3, 4, 6, 7, 9, 10],
'diminished locrian': [0, 1, 3, 4, 6, 8, 9],
'diminished whole-tone': [0, 1, 3, 4, 6, 8, 10],
'dominant 7th': [0, 2, 5, 7, 9, 10],
'dominant diminished': [0, 1, 3, 4, 6, 7, 9, 10],
'double harmonic major': [0, 1, 4, 5, 7, 8, 11],
'double harmonic minor': [0, 3, 4, 5, 6, 7, 8, 11],
'eight-note diminished': [0, 2, 3, 5, 6, 8, 9, 11],
'enigmatic scale': [0, 1, 4, 6, 8, 10, 11],
'full minor': [0, 2, 3, 5, 7, 8, 9, 10, 11],
'half-diminished': [0, 2, 3, 5, 6, 8, 10],
'half-whole': [0, 1, 3, 4, 6, 7, 9, 10],
'harmonic and neapolitan minor mixed': [0, 1, 2, 3, 5, 7, 8, 11],
'harmonic major': [0, 2, 4, 5, 7, 8, 11],
'inverted augmented': [0, 1, 4, 5, 8, 9],
'jeth\'s mode': [0, 2, 3, 5, 6, 9, 11],
'leading whole-tone': [0, 2, 4, 6, 7, 10, 11],
'major/minor mixed': [0, 2, 3, 4, 5, 7, 8, 9, 10, 11],
'major augmented': [0, 2, 4, 5, 8, 9, 11],
'major inverse': [0, 1, 3, 5, 7, 8, 10],
'melodic major': [0, 1, 4, 5, 7, 8, 10],
'melodic minor #11': [0, 1, 3, 6, 7, 9, 11],
'minor b5': [0, 2, 3, 5, 6, 8, 10],
'minor hexatonic': [0, 2, 3, 5, 7, 10],
'minor pentatonic with leading notes': [0, 2, 3, 4, 5, 6, 7, 9, 10, 11],
'natural minor': [0, 2, 3, 5, 7, 8, 10],
'nine-note blues': [0, 2, 3, 4, 5, 6, 7, 9, 10],
'nine-note scale': [0, 2, 3, 4, 6, 7, 8, 9, 11],
'overtone': [0, 2, 3, 5, 7, 9, 11],
'pure minor': [0, 2, 3, 5, 7, 8, 10],
'pyramid hexatonix': [0, 2, 3, 5, 6, 9],
'suspended pentatonic': [0, 2, 5, 7, 10],
'symmetrical decatonic': [0, 1, 2, 4, 5, 6, 7, 8, 10, 11],
'symetrical diminished': [0, 1, 3, 4, 6, 7, 9, 10],
'utility minor': [0, 2, 3, 5, 7, 8, 10, 11],
'whole-half-step scale': [0, 2, 3, 5, 6, 8, 9, 11],
// Blues
'bebop dominant': [0, 2, 4, 5, 7, 9, 10, 11],
'bebop half-diminished': [0, 1, 3, 5, 6, 7, 8, 11],
'bebop major': [0, 2, 4, 5, 7, 8, 9, 11],
'bebop minor': [0, 2, 3, 4, 5, 7, 9, 10],
'\'black key\' pentatonic': [0, 2, 5, 7, 9],
'blues ennaetonic': [0, 2, 3, 4, 5, 6, 7, 9, 10],
'blues heptatonic': [0, 3, 4, 5, 6, 7, 10],
'blues hexatonic': [0, 3, 5, 6, 7, 10],
'blues major': [0, 2, 3, 4, 7, 9],
'blues minor': [0, 3, 5, 6, 7, 10],
'blues modified': [0, 2, 3, 5, 6, 7, 10],
'blues nine-note': [0, 2, 3, 4, 5, 6, 7, 9, 10],
'blues nonatonic': [0, 2, 3, 4, 5, 6, 7, 9, 10],
'blues pentatonic': [0, 3, 5, 6, 10],
'blues scale I': [0, 3, 5, 6, 10],
'blues scale II': [0, 2, 3, 4, 5, 6, 7, 9, 10],
'blues scale III': [0, 2, 3, 5, 6, 7, 9, 10],
'blues scale IV': [0, 3, 4, 5, 6, 7, 10, 11],
'blues scale V': [0, 3, 4, 5, 6, 7, 9, 10, 11],
'dominant bebop': [0, 2, 4, 5, 7, 9, 10, 11],
'major bebop I': [0, 2, 4, 5, 7, 8, 9, 11],
'major bebop II': [0, 2, 4, 5, 7, 8, 9, 11],
'minor bebop': [0, 2, 4, 5, 7, 8, 9, 11]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment