-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
316 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
import { ScaleType } from '..' | ||
|
||
const CMinorMelodic: ScaleType = { | ||
label: 'C Minor (Melodic)', | ||
value: 'c-minor-melodic', | ||
keys: { | ||
48: 'i', | ||
50: 'iiº', | ||
51: 'III+', | ||
53: 'IV', | ||
55: 'V', | ||
57: 'viº', | ||
59: 'viiº', | ||
60: 'i', | ||
}, | ||
} as const | ||
|
||
const DMinorMelodic: ScaleType = { | ||
label: 'D Minor (Melodic)', | ||
value: 'd-minor-melodic', | ||
keys: { | ||
50: 'i', | ||
52: 'iiº', | ||
53: 'III+', | ||
55: 'IV', | ||
57: 'V', | ||
59: 'viº', | ||
61: 'viiº', | ||
62: 'i', | ||
}, | ||
} as const | ||
|
||
const EMinorMelodic: ScaleType = { | ||
label: 'E Minor (Melodic)', | ||
value: 'e-minor-melodic', | ||
keys: { | ||
52: 'i', | ||
54: 'iiº', | ||
55: 'III+', | ||
57: 'IV', | ||
59: 'V', | ||
61: 'viº', | ||
63: 'viiº', | ||
64: 'i', | ||
}, | ||
} as const | ||
|
||
const FMinorMelodic: ScaleType = { | ||
label: 'F Minor (Melodic)', | ||
value: 'f-minor-melodic', | ||
keys: { | ||
53: 'i', | ||
55: 'iiº', | ||
56: 'III+', | ||
58: 'IV', | ||
60: 'V', | ||
62: 'viº', | ||
64: 'viiº', | ||
65: 'i', | ||
}, | ||
} as const | ||
|
||
const GMinorMelodic: ScaleType = { | ||
label: 'G Minor (Melodic)', | ||
value: 'g-minor-melodic', | ||
keys: { | ||
55: 'i', | ||
57: 'iiº', | ||
58: 'III+', | ||
60: 'IV', | ||
62: 'V', | ||
64: 'viº', | ||
66: 'viiº', | ||
67: 'i', | ||
}, | ||
} as const | ||
|
||
const AMinorMelodic: ScaleType = { | ||
label: 'A Minor (Melodic)', | ||
value: 'a-minor-melodic', | ||
keys: { | ||
57: 'i', | ||
59: 'iiº', | ||
60: 'III+', | ||
62: 'IV', | ||
64: 'V', | ||
66: 'viº', | ||
68: 'viiº', | ||
69: 'i', | ||
}, | ||
} as const | ||
|
||
const BMinorMelodic: ScaleType = { | ||
label: 'B Minor (Melodic)', | ||
value: 'b-minor-melodic', | ||
keys: { | ||
59: 'i', | ||
61: 'iiº', | ||
62: 'III+', | ||
64: 'IV', | ||
66: 'V', | ||
68: 'viº', | ||
70: 'viiº', | ||
71: 'i', | ||
}, | ||
} as const | ||
|
||
export type AvailableMinorMelodicScalesType = | ||
| 'c-minor-melodic' | ||
| 'd-minor-melodic' | ||
| 'e-minor-melodic' | ||
| 'f-minor-melodic' | ||
| 'g-minor-melodic' | ||
| 'a-minor-melodic' | ||
| 'b-minor-melodic' | ||
|
||
const AVAILABLE_MINOR_MELODIC_SCALES: { | ||
[key in AvailableMinorMelodicScalesType]: ScaleType | ||
} = { | ||
'c-minor-melodic': CMinorMelodic, | ||
'd-minor-melodic': DMinorMelodic, | ||
'e-minor-melodic': EMinorMelodic, | ||
'f-minor-melodic': FMinorMelodic, | ||
'g-minor-melodic': GMinorMelodic, | ||
'a-minor-melodic': AMinorMelodic, | ||
'b-minor-melodic': BMinorMelodic, | ||
} as const | ||
|
||
export { AVAILABLE_MINOR_MELODIC_SCALES } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
import { ScaleType } from '..' | ||
|
||
const CMinorNatural: ScaleType = { | ||
label: 'C Minor (Natural)', | ||
value: 'c-minor-natural', | ||
keys: { | ||
48: 'i', | ||
50: 'iiº', | ||
51: 'III', | ||
53: 'iv', | ||
55: 'v', | ||
56: 'VI', | ||
58: 'VII', | ||
60: 'i', | ||
}, | ||
} as const | ||
|
||
const DMinorNatural: ScaleType = { | ||
label: 'D Minor (Natural)', | ||
value: 'd-minor-natural', | ||
keys: { | ||
50: 'i', | ||
52: 'iiº', | ||
53: 'III', | ||
55: 'iv', | ||
57: 'v', | ||
58: 'VI', | ||
60: 'VII', | ||
62: 'i', | ||
}, | ||
} as const | ||
|
||
const EMinorNatural: ScaleType = { | ||
label: 'E Minor (Natural)', | ||
value: 'e-minor-natural', | ||
keys: { | ||
52: 'i', | ||
54: 'iiº', | ||
55: 'III', | ||
57: 'iv', | ||
59: 'v', | ||
60: 'VI', | ||
62: 'VII', | ||
64: 'i', | ||
}, | ||
} as const | ||
|
||
const FMinorNatural: ScaleType = { | ||
label: 'F Minor (Natural)', | ||
value: 'f-minor-natural', | ||
keys: { | ||
53: 'i', | ||
55: 'iiº', | ||
56: 'III', | ||
58: 'iv', | ||
60: 'v', | ||
61: 'VI', | ||
63: 'VII', | ||
65: 'i', | ||
}, | ||
} as const | ||
|
||
const GMinorNatural: ScaleType = { | ||
label: 'G Minor (Natural)', | ||
value: 'g-minor-natural', | ||
keys: { | ||
55: 'i', | ||
57: 'iiº', | ||
58: 'III', | ||
60: 'iv', | ||
62: 'v', | ||
63: 'VI', | ||
65: 'VII', | ||
67: 'i', | ||
}, | ||
} as const | ||
|
||
const AMinorNatural: ScaleType = { | ||
label: 'A Minor (Natural)', | ||
value: 'a-minor-natural', | ||
keys: { | ||
57: 'i', | ||
59: 'iiº', | ||
60: 'III', | ||
62: 'iv', | ||
64: 'v', | ||
65: 'VI', | ||
67: 'VII', | ||
69: 'i', | ||
}, | ||
} as const | ||
|
||
const BMinorNatural: ScaleType = { | ||
label: 'B Minor (Natural)', | ||
value: 'b-minor-natural', | ||
keys: { | ||
59: 'i', | ||
61: 'iiº', | ||
62: 'III', | ||
64: 'iv', | ||
66: 'v', | ||
67: 'VI', | ||
69: 'VII', | ||
71: 'i', | ||
}, | ||
} as const | ||
|
||
export type AvailableMinorNaturalScalesType = | ||
| 'c-minor-natural' | ||
| 'd-minor-natural' | ||
| 'e-minor-natural' | ||
| 'f-minor-natural' | ||
| 'g-minor-natural' | ||
| 'a-minor-natural' | ||
| 'b-minor-natural' | ||
|
||
const AVAILABLE_MINOR_NATURAL_SCALES: { | ||
[key in AvailableMinorNaturalScalesType]: ScaleType | ||
} = { | ||
'c-minor-natural': CMinorNatural, | ||
'd-minor-natural': DMinorNatural, | ||
'e-minor-natural': EMinorNatural, | ||
'f-minor-natural': FMinorNatural, | ||
'g-minor-natural': GMinorNatural, | ||
'a-minor-natural': AMinorNatural, | ||
'b-minor-natural': BMinorNatural, | ||
} as const | ||
|
||
export { AVAILABLE_MINOR_NATURAL_SCALES } |