-
Notifications
You must be signed in to change notification settings - Fork 0
/
presets.js
156 lines (147 loc) · 8.4 KB
/
presets.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
const presets = {};
presets.P5 = {
name: "Perfect Fifths",
notes: [
{ noteName: "Cb", prev: "Fb", next: "Gb", enharmonic: "B" },
{ noteName: "Gb", prev: "Cb", next: "Db", enharmonic: "F#" },
{ noteName: "C", prev: "F", next: "G", enharmonic: "C" },
{ noteName: "G", prev: "C", next: "D", enharmonic: "G" },
{ noteName: "C#", prev: "F#", next: "G#", enharmonic: "C#" },
{ noteName: "G#", prev: "C#", next: "D#", enharmonic: "G#" },
{ noteName: "Db", prev: "Gb", next: "Ab", enharmonic: "C#" },
{ noteName: "Ab", prev: "Db", next: "Eb", enharmonic: "G#" },
{ noteName: "D", prev: "G", next: "A", enharmonic: "D" },
{ noteName: "A", prev: "D", next: "E", enharmonic: "A" },
{ noteName: "D#", prev: "G#", next: "A#", enharmonic: "D#" },
{ noteName: "A#", prev: "D#", next: "E#", enharmonic: "A#" },
{ noteName: "Eb", prev: "Ab", next: "Bb", enharmonic: "D#" },
{ noteName: "Bb", prev: "Eb", next: "F", enharmonic: "A#" },
{ noteName: "E", prev: "A", next: "B", enharmonic: "E" },
{ noteName: "B", prev: "E", next: "F#", enharmonic: "B" },
{ noteName: "E#", prev: "A#", next: "B#", enharmonic: "F" },
{ noteName: "B#", prev: "E#", next: "F##", enharmonic: "C" },
{ noteName: "Fb", prev: "Bbb", next: "Cb", enharmonic: "E" },
{ noteName: "F", prev: "Bb", next: "C", enharmonic: "F" },
{ noteName: "F#", prev: "B", next: "C#", enharmonic: "F#" },
{ noteName: "F##", prev: "B#", next: "C##", enharmonic: "G" },
]
};
presets.P4 = {
name: "Perfect Forths",
alias: "P5",
reversed: true,
};
presets.M3 = {
name: "Major thirds",
notes: [
{ noteName: "F", prev: "Db", next: "A", enharmonic: "F" },
{ noteName: "F#", prev: "D", next: "A#", enharmonic: "F#" },
{ noteName: "Gb", prev: "Ebb", next: "Bb", enharmonic: "F#" },
{ noteName: "G", prev: "Eb", next: "B", enharmonic: "G" },
{ noteName: "F##", prev: "D#", next: "A##", enharmonic: "G" },
{ noteName: "G#", prev: "E", next: "B#", enharmonic: "G#" },
{ noteName: "Ab", prev: "Fb", next: "C", enharmonic: "G#" },
{ noteName: "A", prev: "F", next: "C#", enharmonic: "A" },
{ noteName: "Bbb", prev: "Gbb", next: "Db", enharmonic: "A" },
{ noteName: "A#", prev: "F#", next: "C##", enharmonic: "A#" },
{ noteName: "Bb", prev: "Gb", next: "D", enharmonic: "A#" },
{ noteName: "B", prev: "G", next: "D#", enharmonic: "B" },
{ noteName: "Cb", prev: "Abb", next: "Eb", enharmonic: "B" },
{ noteName: "B#", prev: "G#", next: "D##", enharmonic: "C" },
{ noteName: "C", prev: "Ab", next: "E", enharmonic: "C" },
{ noteName: "C#", prev: "A", next: "E#", enharmonic: "C#" },
{ noteName: "Db", prev: "Bbb", next: "F", enharmonic: "C#" },
{ noteName: "D", prev: "Bb", next: "F#", enharmonic: "D" },
{ noteName: "C##", prev: "A#", next: "E##", enharmonic: "D" },
{ noteName: "Ebb", prev: "Cbb", next: "Gb", enharmonic: "D" },
{ noteName: "D#", prev: "B", next: "F##", enharmonic: "D#" },
{ noteName: "Eb", prev: "Cb", next: "G", enharmonic: "D#" },
{ noteName: "E", prev: "C", next: "G#", enharmonic: "E" },
{ noteName: "Fb", prev: "Dbb", next: "Ab", enharmonic: "E" },
{ noteName: "E#", prev: "C#", next: "G##", enharmonic: "F" },
]
};
presets.m3 = {
name: "Minor thirds",
notes: [
{ noteName: "Cb", prev: "Ab", next: "Ebb", enharmonic: "B" },
{ noteName: "Ebb", prev: "Cb", next: "Gbb", enharmonic: "C" },
{ noteName: "C", prev: "A", next: "Eb", enharmonic: "C" },
{ noteName: "Eb", prev: "C", next: "Gb", enharmonic: "D#" },
{ noteName: "C#", prev: "A#", next: "E", enharmonic: "C#" },
{ noteName: "E", prev: "C#", next: "G", enharmonic: "E" },
{ noteName: "Db", prev: "Bb", next: "Fb", enharmonic: "C#" },
{ noteName: "Fb", prev: "Db", next: "Abb", enharmonic: "E" },
{ noteName: "D", prev: "B", next: "F", enharmonic: "D" },
{ noteName: "F", prev: "D", next: "Ab", enharmonic: "F" },
{ noteName: "D#", prev: "B#", next: "F#", enharmonic: "D#" },
{ noteName: "F#", prev: "D#", next: "A", enharmonic: "F#" },
{ noteName: "Gb", prev: "Eb", next: "Bbb", enharmonic: "F#" },
{ noteName: "G", prev: "E", next: "Bb", enharmonic: "G" },
{ noteName: "E#", prev: "C##", next: "G#", enharmonic: "F" },
{ noteName: "G#", prev: "E#", next: "B", enharmonic: "G#" },
{ noteName: "Abb", prev: "Fb", next: "Cbb", enharmonic: "G" },
{ noteName: "Ab", prev: "F", next: "Cb", enharmonic: "G#" },
{ noteName: "A", prev: "F#", next: "C", enharmonic: "A" },
{ noteName: "F##", prev: "D##", next: "A#", enharmonic: "G" },
{ noteName: "A#", prev: "F##", next: "C#", enharmonic: "A#" },
{ noteName: "Bbb", prev: "Gb", next: "Dbb", enharmonic: "A" },
{ noteName: "Bb", prev: "G", next: "Db", enharmonic: "A#" },
{ noteName: "B", prev: "G#", next: "D", enharmonic: "B" },
{ noteName: "B#", prev: "G##", next: "D#", enharmonic: "B#" },
]
};
presets.M2 = {
name: "Major seconds",
notes: [
{ noteName: "C", prev: "Bb", next: "D", enharmonic: "C" },
{ noteName: "C#", prev: "B", next: "D#", enharmonic: "C#" },
{ noteName: "Db", prev: "Cb", next: "Eb", enharmonic: "C#" },
{ noteName: "D", prev: "C", next: "E", enharmonic: "D" },
{ noteName: "D#", prev: "C#", next: "E#", enharmonic: "D#" },
{ noteName: "Ebb", prev: "Dbb", next: "Fb", enharmonic: "D#" },
{ noteName: "Eb", prev: "Db", next: "F", enharmonic: "D#" },
{ noteName: "E", prev: "D", next: "F#", enharmonic: "E" },
{ noteName: "Fb", prev: "Ebb", next: "Gb", enharmonic: "E" },
{ noteName: "E#", prev: "D#", next: "F##", enharmonic: "F" },
{ noteName: "F", prev: "Eb", next: "G", enharmonic: "F" },
{ noteName: "F#", prev: "E", next: "G#", enharmonic: "F#" },
{ noteName: "Gb", prev: "Fb", next: "Ab", enharmonic: "F#" },
{ noteName: "G", prev: "F", next: "A", enharmonic: "G" },
{ noteName: "G#", prev: "F#", next: "A#", enharmonic: "G#" },
{ noteName: "Ab", prev: "Gb", next: "Bb", enharmonic: "G#" },
{ noteName: "A", prev: "G", next: "B", enharmonic: "A" },
{ noteName: "Bbb", prev: "Abb", next: "Cb", enharmonic: "A" },
{ noteName: "A#", prev: "G#", next: "B#", enharmonic: "A#" },
{ noteName: "B", prev: "A", next: "C#", enharmonic: "B" },
{ noteName: "B#", prev: "A#", next: "C##", enharmonic: "C" },
]
};
presets.m2 = {
name: "Minor seconds",
notes: [
{ noteName: "C", prev: "B", next: "Db", enharmonic: "C" },
{ noteName: "C#", prev: "B#", next: "D", enharmonic: "C#" },
{ noteName: "Db", prev: "C", next: "Ebb", enharmonic: "C#" },
{ noteName: "D", prev: "C#", next: "Eb", enharmonic: "D" },
{ noteName: "D#", prev: "C##", next: "E", enharmonic: "D#" },
{ noteName: "Eb", prev: "D", next: "Fb", enharmonic: "D#" },
{ noteName: "E", prev: "D#", next: "F", enharmonic: "E" },
{ noteName: "F", prev: "E", next: "Gb", enharmonic: "F" },
{ noteName: "F#", prev: "E#", next: "G", enharmonic: "F#" },
{ noteName: "Gb", prev: "F", next: "Abb", enharmonic: "F#" },
{ noteName: "G", prev: "F#", next: "Ab", enharmonic: "G" },
{ noteName: "G#", prev: "F##", next: "A", enharmonic: "G#" },
{ noteName: "Ab", prev: "G", next: "Bbb", enharmonic: "G#" },
{ noteName: "A", prev: "G#", next: "Bb", enharmonic: "A" },
{ noteName: "A#", prev: "G##", next: "B", enharmonic: "A#" },
{ noteName: "Bb", prev: "A", next: "Cb", enharmonic: "A#" },
{ noteName: "B", prev: "A#", next: "C", enharmonic: "B" },
{ noteName: "Cb", prev: "Bb", next: "Dbb", enharmonic: "B" },
]
};
presets.M6 = {
name: "Major Sixths",
alias: "m3",
reversed: true,
};