-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
41 lines (39 loc) · 1.19 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* @module scales
* @author stagas
* @version 1.0.0
* @desc musical scales
* @license mit
*
* adapted from https://github.com/hdavid/Launchpad95
*/
export var scales = {
'major': [0, 2, 4, 5, 7, 9, 11],
'minor': [0, 2, 3, 5, 7, 8, 10],
'ionian': [0, 2, 4, 5, 7, 9, 11],
'aeolian': [0, 2, 3, 5, 7, 8, 10],
'dorian': [0, 2, 3, 5, 7, 9, 10],
'mixolydian': [0, 2, 4, 5, 7, 9, 10],
'lydian': [0, 2, 4, 6, 7, 9, 11],
'phrygian': [0, 1, 3, 5, 7, 8, 10],
'locrian': [0, 1, 3, 5, 6, 8, 10],
'diminished': [0, 1, 3, 4, 6, 7, 9, 10],
'whole half': [0, 2, 3, 5, 6, 8, 9, 11],
'whole tone': [0, 2, 4, 6, 8, 10],
'minor blues': [0, 3, 5, 6, 7, 10],
'minor pentatonic': [0, 3, 5, 7, 10],
'major pentatonic': [0, 2, 4, 7, 9],
'harmonic minor': [0, 2, 3, 5, 7, 8, 11],
'melodic minor': [0, 2, 3, 5, 7, 9, 11],
'super locrian': [0, 1, 3, 4, 6, 8, 10],
'bhairav': [0, 1, 4, 5, 7, 8, 11],
'hungarian minor': [0, 2, 3, 6, 7, 8, 11],
'minor gypsy': [0, 1, 4, 5, 7, 8, 10],
'hirojoshi': [0, 2, 3, 7, 8],
'in sen': [0, 1, 5, 7, 10],
'iwato': [0, 1, 5, 6, 10],
'kumoi': [0, 2, 3, 7, 9],
'pelog': [0, 1, 3, 4, 7, 8],
'spanish': [0, 1, 3, 4, 5, 6, 8, 10],
'ion aeol': [0, 2, 3, 4, 5, 7, 8, 9, 10, 11]
};