@musodojo/music-theory-data 20.4.0 → 20.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_dnt.test_shims.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/almost_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/array_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/fail.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/greater.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/greater_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/is_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/less.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/less_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/not_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/not_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/not_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/object_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/rejects.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/string_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/throws.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/unimplemented.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/1.0.18/unreachable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/diff.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/styles.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
- package/esm/package.json +3 -0
- package/esm/src/data/chords/mod.d.ts +10 -0
- package/esm/src/data/chords/mod.d.ts.map +1 -0
- package/esm/src/data/chords/mod.js +72 -0
- package/esm/src/data/colors/mod.d.ts +51 -0
- package/esm/src/data/colors/mod.d.ts.map +1 -0
- package/esm/src/data/colors/mod.js +79 -0
- package/esm/src/data/labels/mod.d.ts +3 -0
- package/esm/src/data/labels/mod.d.ts.map +1 -0
- package/esm/src/data/labels/mod.js +2 -0
- package/esm/src/data/labels/note-label-collections.d.ts +62 -0
- package/esm/src/data/labels/note-label-collections.d.ts.map +1 -0
- package/esm/src/data/labels/note-label-collections.js +91 -0
- package/esm/src/data/labels/note-labels.d.ts +314 -0
- package/esm/src/data/labels/note-labels.d.ts.map +1 -0
- package/esm/src/data/labels/note-labels.js +502 -0
- package/esm/src/data/mod.d.ts +5 -0
- package/esm/src/data/mod.d.ts.map +1 -0
- package/esm/src/data/mod.js +4 -0
- package/esm/src/data/note-collections/augmented-variants.d.ts +8 -0
- package/esm/src/data/note-collections/augmented-variants.d.ts.map +1 -0
- package/esm/src/data/note-collections/augmented-variants.js +27 -0
- package/esm/src/data/note-collections/diatonic-modes.d.ts +14 -0
- package/esm/src/data/note-collections/diatonic-modes.d.ts.map +1 -0
- package/esm/src/data/note-collections/diatonic-modes.js +268 -0
- package/esm/src/data/note-collections/diminished-variants.d.ts +11 -0
- package/esm/src/data/note-collections/diminished-variants.d.ts.map +1 -0
- package/esm/src/data/note-collections/diminished-variants.js +72 -0
- package/esm/src/data/note-collections/dominant-variants.d.ts +11 -0
- package/esm/src/data/note-collections/dominant-variants.d.ts.map +1 -0
- package/esm/src/data/note-collections/dominant-variants.js +116 -0
- package/esm/src/data/note-collections/harmonic-minor-modes.d.ts +13 -0
- package/esm/src/data/note-collections/harmonic-minor-modes.d.ts.map +1 -0
- package/esm/src/data/note-collections/harmonic-minor-modes.js +246 -0
- package/esm/src/data/note-collections/major-variants.d.ts +12 -0
- package/esm/src/data/note-collections/major-variants.d.ts.map +1 -0
- package/esm/src/data/note-collections/major-variants.js +123 -0
- package/esm/src/data/note-collections/melodic-minor-modes.d.ts +13 -0
- package/esm/src/data/note-collections/melodic-minor-modes.d.ts.map +1 -0
- package/esm/src/data/note-collections/melodic-minor-modes.js +206 -0
- package/esm/src/data/note-collections/minor-variants.d.ts +13 -0
- package/esm/src/data/note-collections/minor-variants.d.ts.map +1 -0
- package/esm/src/data/note-collections/minor-variants.js +118 -0
- package/esm/src/data/note-collections/mod.d.ts +86 -0
- package/esm/src/data/note-collections/mod.d.ts.map +1 -0
- package/esm/src/data/note-collections/mod.js +86 -0
- package/esm/src/data/note-collections/other-collections.d.ts +10 -0
- package/esm/src/data/note-collections/other-collections.d.ts.map +1 -0
- package/esm/src/data/note-collections/other-collections.js +91 -0
- package/esm/src/data/note-collections/pentatonic-variants.d.ts +11 -0
- package/esm/src/data/note-collections/pentatonic-variants.d.ts.map +1 -0
- package/esm/src/data/note-collections/pentatonic-variants.js +86 -0
- package/esm/src/mod.d.ts +74 -0
- package/esm/src/mod.d.ts.map +1 -0
- package/{src/mod.ts → esm/src/mod.js} +2 -3
- package/esm/src/utils/chords.d.ts +14 -0
- package/esm/src/utils/chords.d.ts.map +1 -0
- package/esm/src/utils/chords.js +93 -0
- package/esm/src/utils/colors.d.ts +14 -0
- package/esm/src/utils/colors.d.ts.map +1 -0
- package/esm/src/utils/colors.js +47 -0
- package/esm/src/utils/intervals.d.ts +26 -0
- package/esm/src/utils/intervals.d.ts.map +1 -0
- package/esm/src/utils/intervals.js +61 -0
- package/esm/src/utils/midi-note-sequences.d.ts +23 -0
- package/esm/src/utils/midi-note-sequences.d.ts.map +1 -0
- package/esm/src/utils/midi-note-sequences.js +109 -0
- package/esm/src/utils/midi.d.ts +7 -0
- package/esm/src/utils/midi.d.ts.map +1 -0
- package/esm/src/utils/midi.js +26 -0
- package/esm/src/utils/mod.d.ts +9 -0
- package/esm/src/utils/mod.d.ts.map +1 -0
- package/esm/src/utils/mod.js +8 -0
- package/esm/src/utils/note-collections.d.ts +24 -0
- package/esm/src/utils/note-collections.d.ts.map +1 -0
- package/esm/src/utils/note-collections.js +132 -0
- package/esm/src/utils/note-names.d.ts +23 -0
- package/esm/src/utils/note-names.d.ts.map +1 -0
- package/esm/src/utils/note-names.js +127 -0
- package/esm/src/utils/rotate-array.d.ts +19 -0
- package/esm/src/utils/rotate-array.d.ts.map +1 -0
- package/{src/utils/rotate-array.ts → esm/src/utils/rotate-array.js} +10 -12
- package/esm/tests/get-chord-details.test.d.ts.map +1 -0
- package/esm/tests/get-note-names.test.d.ts.map +1 -0
- package/esm/tests/midi.test.d.ts.map +1 -0
- package/esm/tests/note-name-strings.test.d.ts.map +1 -0
- package/esm/tests/search-note-collections.test.d.ts.map +1 -0
- package/esm/tests/transform-intervals.test.d.ts.map +1 -0
- package/package.json +21 -6
- package/script/_dnt.test_shims.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/almost_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/array_includes.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/assert.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/assertion_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/fail.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/false.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/greater.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/greater_or_equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/is_error.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/less.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/less_or_equal.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/not_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/not_instance_of.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/not_match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/not_strict_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/object_match.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/rejects.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/strict_equals.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/string_includes.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/throws.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/unimplemented.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/assert/1.0.18/unreachable.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/build_message.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/diff.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/diff_str.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/format.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/styles.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.12/types.d.ts.map +1 -0
- package/script/package.json +3 -0
- package/script/src/data/chords/mod.d.ts +10 -0
- package/script/src/data/chords/mod.d.ts.map +1 -0
- package/script/src/data/chords/mod.js +75 -0
- package/script/src/data/colors/mod.d.ts +51 -0
- package/script/src/data/colors/mod.d.ts.map +1 -0
- package/script/src/data/colors/mod.js +82 -0
- package/script/src/data/labels/mod.d.ts +3 -0
- package/script/src/data/labels/mod.d.ts.map +1 -0
- package/script/src/data/labels/mod.js +18 -0
- package/script/src/data/labels/note-label-collections.d.ts +62 -0
- package/script/src/data/labels/note-label-collections.d.ts.map +1 -0
- package/script/src/data/labels/note-label-collections.js +94 -0
- package/script/src/data/labels/note-labels.d.ts +314 -0
- package/script/src/data/labels/note-labels.d.ts.map +1 -0
- package/script/src/data/labels/note-labels.js +505 -0
- package/script/src/data/mod.d.ts +5 -0
- package/script/src/data/mod.d.ts.map +1 -0
- package/script/src/data/mod.js +20 -0
- package/script/src/data/note-collections/augmented-variants.d.ts +8 -0
- package/script/src/data/note-collections/augmented-variants.d.ts.map +1 -0
- package/script/src/data/note-collections/augmented-variants.js +30 -0
- package/script/src/data/note-collections/diatonic-modes.d.ts +14 -0
- package/script/src/data/note-collections/diatonic-modes.d.ts.map +1 -0
- package/script/src/data/note-collections/diatonic-modes.js +271 -0
- package/script/src/data/note-collections/diminished-variants.d.ts +11 -0
- package/script/src/data/note-collections/diminished-variants.d.ts.map +1 -0
- package/script/src/data/note-collections/diminished-variants.js +75 -0
- package/script/src/data/note-collections/dominant-variants.d.ts +11 -0
- package/script/src/data/note-collections/dominant-variants.d.ts.map +1 -0
- package/script/src/data/note-collections/dominant-variants.js +119 -0
- package/script/src/data/note-collections/harmonic-minor-modes.d.ts +13 -0
- package/script/src/data/note-collections/harmonic-minor-modes.d.ts.map +1 -0
- package/script/src/data/note-collections/harmonic-minor-modes.js +249 -0
- package/script/src/data/note-collections/major-variants.d.ts +12 -0
- package/script/src/data/note-collections/major-variants.d.ts.map +1 -0
- package/script/src/data/note-collections/major-variants.js +126 -0
- package/script/src/data/note-collections/melodic-minor-modes.d.ts +13 -0
- package/script/src/data/note-collections/melodic-minor-modes.d.ts.map +1 -0
- package/script/src/data/note-collections/melodic-minor-modes.js +209 -0
- package/script/src/data/note-collections/minor-variants.d.ts +13 -0
- package/script/src/data/note-collections/minor-variants.d.ts.map +1 -0
- package/script/src/data/note-collections/minor-variants.js +121 -0
- package/script/src/data/note-collections/mod.d.ts +86 -0
- package/script/src/data/note-collections/mod.d.ts.map +1 -0
- package/script/src/data/note-collections/mod.js +99 -0
- package/script/src/data/note-collections/other-collections.d.ts +10 -0
- package/script/src/data/note-collections/other-collections.d.ts.map +1 -0
- package/script/src/data/note-collections/other-collections.js +94 -0
- package/script/src/data/note-collections/pentatonic-variants.d.ts +11 -0
- package/script/src/data/note-collections/pentatonic-variants.d.ts.map +1 -0
- package/script/src/data/note-collections/pentatonic-variants.js +89 -0
- package/script/src/mod.d.ts +74 -0
- package/script/src/mod.d.ts.map +1 -0
- package/script/src/mod.js +88 -0
- package/script/src/utils/chords.d.ts +14 -0
- package/script/src/utils/chords.d.ts.map +1 -0
- package/script/src/utils/chords.js +102 -0
- package/script/src/utils/colors.d.ts +14 -0
- package/script/src/utils/colors.d.ts.map +1 -0
- package/script/src/utils/colors.js +51 -0
- package/script/src/utils/intervals.d.ts +26 -0
- package/script/src/utils/intervals.d.ts.map +1 -0
- package/script/src/utils/intervals.js +69 -0
- package/script/src/utils/midi-note-sequences.d.ts +23 -0
- package/script/src/utils/midi-note-sequences.d.ts.map +1 -0
- package/script/src/utils/midi-note-sequences.js +112 -0
- package/script/src/utils/midi.d.ts +7 -0
- package/script/src/utils/midi.d.ts.map +1 -0
- package/script/src/utils/midi.js +32 -0
- package/script/src/utils/mod.d.ts +9 -0
- package/script/src/utils/mod.d.ts.map +1 -0
- package/script/src/utils/mod.js +24 -0
- package/script/src/utils/note-collections.d.ts +24 -0
- package/script/src/utils/note-collections.d.ts.map +1 -0
- package/script/src/utils/note-collections.js +137 -0
- package/script/src/utils/note-names.d.ts +23 -0
- package/script/src/utils/note-names.d.ts.map +1 -0
- package/script/src/utils/note-names.js +134 -0
- package/script/src/utils/rotate-array.d.ts +19 -0
- package/script/src/utils/rotate-array.d.ts.map +1 -0
- package/script/src/utils/rotate-array.js +32 -0
- package/script/tests/get-chord-details.test.d.ts.map +1 -0
- package/script/tests/get-note-names.test.d.ts.map +1 -0
- package/script/tests/midi.test.d.ts.map +1 -0
- package/script/tests/note-name-strings.test.d.ts.map +1 -0
- package/script/tests/search-note-collections.test.d.ts.map +1 -0
- package/script/tests/transform-intervals.test.d.ts.map +1 -0
- package/src/data/chords/mod.ts +0 -86
- package/src/data/colors/mod.ts +0 -109
- package/src/data/labels/mod.ts +0 -2
- package/src/data/labels/note-label-collections.ts +0 -124
- package/src/data/labels/note-labels.ts +0 -702
- package/src/data/mod.ts +0 -4
- package/src/data/note-collections/augmented-variants.ts +0 -35
- package/src/data/note-collections/diatonic-modes.ts +0 -281
- package/src/data/note-collections/diminished-variants.ts +0 -87
- package/src/data/note-collections/dominant-variants.ts +0 -131
- package/src/data/note-collections/harmonic-minor-modes.ts +0 -261
- package/src/data/note-collections/major-variants.ts +0 -135
- package/src/data/note-collections/melodic-minor-modes.ts +0 -221
- package/src/data/note-collections/minor-variants.ts +0 -131
- package/src/data/note-collections/mod.ts +0 -108
- package/src/data/note-collections/other-collections.ts +0 -107
- package/src/data/note-collections/pentatonic-variants.ts +0 -99
- package/src/types/chords.d.ts +0 -48
- package/src/types/midi.d.ts +0 -131
- package/src/types/mod.d.ts +0 -3
- package/src/types/note-collections.d.ts +0 -86
- package/src/utils/chords.ts +0 -168
- package/src/utils/colors.ts +0 -57
- package/src/utils/intervals.ts +0 -111
- package/src/utils/midi-note-sequences.ts +0 -171
- package/src/utils/midi.ts +0 -51
- package/src/utils/mod.ts +0 -8
- package/src/utils/note-collections.ts +0 -188
- package/src/utils/note-names.ts +0 -182
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
export type RootNoteInteger = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
2
|
+
declare const _noteLetters: readonly ["C", "D", "E", "F", "G", "A", "B"];
|
|
3
|
+
export type NoteLetter = (typeof _noteLetters)[number];
|
|
4
|
+
export declare const noteLetters: readonly NoteLetter[];
|
|
5
|
+
declare const _noteAccidentalToIntegerMap: {
|
|
6
|
+
readonly "\uD834\uDD2B": -2;
|
|
7
|
+
readonly "\u266D": -1;
|
|
8
|
+
readonly "\u266E": 0;
|
|
9
|
+
readonly "\u266F": 1;
|
|
10
|
+
readonly "\uD834\uDD2A": 2;
|
|
11
|
+
};
|
|
12
|
+
export type NoteAccidental = keyof typeof _noteAccidentalToIntegerMap;
|
|
13
|
+
export declare const noteAccidentalToIntegerMap: ReadonlyMap<NoteAccidental, number>;
|
|
14
|
+
declare const _enharmonicNoteNameGroups: readonly [readonly ["C", "C♮", "B♯", "D𝄫"], readonly ["D♭", "C♯", "B𝄪"], readonly ["D", "D♮", "E𝄫", "C𝄪"], readonly ["E♭", "D♯", "F𝄫"], readonly ["E", "E♮", "F♭", "D𝄪"], readonly ["F", "F♮", "E♯", "G𝄫"], readonly ["G♭", "F♯", "E𝄪"], readonly ["G", "G♮", "A𝄫", "F𝄪"], readonly ["A♭", "G♯"], readonly ["A", "A♮", "B𝄫", "G𝄪"], readonly ["B♭", "A♯", "C𝄫"], readonly ["B", "B♮", "C♭", "A𝄪"]];
|
|
15
|
+
export type NoteName = (typeof _enharmonicNoteNameGroups)[number][number];
|
|
16
|
+
export declare const enharmonicNoteNameGroups: readonly (readonly NoteName[])[];
|
|
17
|
+
export declare const noteNames: readonly NoteName[];
|
|
18
|
+
export declare const noteNamesSet: ReadonlySet<NoteName>;
|
|
19
|
+
export declare const noteNameToIntegerMap: ReadonlyMap<NoteName, RootNoteInteger>;
|
|
20
|
+
declare const _enharmonicRootNoteGroups: readonly [readonly ["C", "B♯"], readonly ["D♭", "C♯"], readonly ["D"], readonly ["E♭", "D♯"], readonly ["E", "F♭"], readonly ["F", "E♯"], readonly ["G♭", "F♯"], readonly ["G"], readonly ["A♭", "G♯"], readonly ["A"], readonly ["B♭", "A♯"], readonly ["B", "C♭"]];
|
|
21
|
+
export type RootNote = (typeof _enharmonicRootNoteGroups)[number][number];
|
|
22
|
+
export declare const enharmonicRootNoteGroups: readonly (readonly RootNote[])[];
|
|
23
|
+
export declare const rootNotes: readonly RootNote[];
|
|
24
|
+
export declare const rootNotesSet: ReadonlySet<RootNote>;
|
|
25
|
+
export declare const rootNoteToIntegerMap: ReadonlyMap<RootNote, RootNoteInteger>;
|
|
26
|
+
export type SimpleIntervalNumber = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8";
|
|
27
|
+
declare const _simpleIntervalToIntegerMap: {
|
|
28
|
+
readonly "\uD834\uDD2B1": -2;
|
|
29
|
+
readonly "\u266D1": -1;
|
|
30
|
+
readonly "\u266E1": 0;
|
|
31
|
+
readonly "1": 0;
|
|
32
|
+
readonly "\u266F1": 1;
|
|
33
|
+
readonly "\uD834\uDD2A1": 2;
|
|
34
|
+
readonly "\uD834\uDD2B2": 0;
|
|
35
|
+
readonly "\u266D2": 1;
|
|
36
|
+
readonly "\u266E2": 2;
|
|
37
|
+
readonly "2": 2;
|
|
38
|
+
readonly "\u266F2": 3;
|
|
39
|
+
readonly "\uD834\uDD2A2": 4;
|
|
40
|
+
readonly "\uD834\uDD2B3": 2;
|
|
41
|
+
readonly "\u266D3": 3;
|
|
42
|
+
readonly "\u266E3": 4;
|
|
43
|
+
readonly "3": 4;
|
|
44
|
+
readonly "\u266F3": 5;
|
|
45
|
+
readonly "\uD834\uDD2A3": 6;
|
|
46
|
+
readonly "\uD834\uDD2B4": 3;
|
|
47
|
+
readonly "\u266D4": 4;
|
|
48
|
+
readonly "\u266E4": 5;
|
|
49
|
+
readonly "4": 5;
|
|
50
|
+
readonly "\u266F4": 6;
|
|
51
|
+
readonly "\uD834\uDD2A4": 7;
|
|
52
|
+
readonly "\uD834\uDD2B5": 5;
|
|
53
|
+
readonly "\u266D5": 6;
|
|
54
|
+
readonly "\u266E5": 7;
|
|
55
|
+
readonly "5": 7;
|
|
56
|
+
readonly "\u266F5": 8;
|
|
57
|
+
readonly "\uD834\uDD2A5": 9;
|
|
58
|
+
readonly "\uD834\uDD2B6": 7;
|
|
59
|
+
readonly "\u266D6": 8;
|
|
60
|
+
readonly "\u266E6": 9;
|
|
61
|
+
readonly "6": 9;
|
|
62
|
+
readonly "\u266F6": 10;
|
|
63
|
+
readonly "\uD834\uDD2A6": 11;
|
|
64
|
+
readonly "\uD834\uDD2B7": 9;
|
|
65
|
+
readonly "\u266D7": 10;
|
|
66
|
+
readonly "\u266E7": 11;
|
|
67
|
+
readonly "7": 11;
|
|
68
|
+
readonly "\u266F7": 12;
|
|
69
|
+
readonly "\uD834\uDD2A7": 13;
|
|
70
|
+
readonly "\uD834\uDD2B8": 10;
|
|
71
|
+
readonly "\u266D8": 11;
|
|
72
|
+
readonly "\u266E8": 12;
|
|
73
|
+
readonly "8": 12;
|
|
74
|
+
readonly "\u266F8": 13;
|
|
75
|
+
readonly "\uD834\uDD2A8": 14;
|
|
76
|
+
};
|
|
77
|
+
export type SimpleInterval = keyof typeof _simpleIntervalToIntegerMap;
|
|
78
|
+
export type CompoundIntervalNumber = "9" | "10" | "11" | "12" | "13" | "14" | "15";
|
|
79
|
+
declare const _compoundIntervalToIntegerMap: {
|
|
80
|
+
readonly "\uD834\uDD2B9": 12;
|
|
81
|
+
readonly "\u266D9": 13;
|
|
82
|
+
readonly "\u266E9": 14;
|
|
83
|
+
readonly "9": 14;
|
|
84
|
+
readonly "\u266F9": 15;
|
|
85
|
+
readonly "\uD834\uDD2A9": 16;
|
|
86
|
+
readonly "\uD834\uDD2B10": 14;
|
|
87
|
+
readonly "\u266D10": 15;
|
|
88
|
+
readonly "\u266E10": 16;
|
|
89
|
+
readonly "10": 16;
|
|
90
|
+
readonly "\u266F10": 17;
|
|
91
|
+
readonly "\uD834\uDD2A10": 18;
|
|
92
|
+
readonly "\uD834\uDD2B11": 15;
|
|
93
|
+
readonly "\u266D11": 16;
|
|
94
|
+
readonly "\u266E11": 17;
|
|
95
|
+
readonly "11": 17;
|
|
96
|
+
readonly "\u266F11": 18;
|
|
97
|
+
readonly "\uD834\uDD2A11": 19;
|
|
98
|
+
readonly "\uD834\uDD2B12": 17;
|
|
99
|
+
readonly "\u266D12": 18;
|
|
100
|
+
readonly "\u266E12": 19;
|
|
101
|
+
readonly "12": 19;
|
|
102
|
+
readonly "\u266F12": 20;
|
|
103
|
+
readonly "\uD834\uDD2A12": 21;
|
|
104
|
+
readonly "\uD834\uDD2B13": 19;
|
|
105
|
+
readonly "\u266D13": 20;
|
|
106
|
+
readonly "\u266E13": 21;
|
|
107
|
+
readonly "13": 21;
|
|
108
|
+
readonly "\u266F13": 22;
|
|
109
|
+
readonly "\uD834\uDD2A13": 23;
|
|
110
|
+
readonly "\uD834\uDD2B14": 21;
|
|
111
|
+
readonly "\u266D14": 22;
|
|
112
|
+
readonly "\u266E14": 23;
|
|
113
|
+
readonly "14": 23;
|
|
114
|
+
readonly "\u266F14": 24;
|
|
115
|
+
readonly "\uD834\uDD2A14": 25;
|
|
116
|
+
readonly "\uD834\uDD2B15": 22;
|
|
117
|
+
readonly "\u266D15": 23;
|
|
118
|
+
readonly "\u266E15": 24;
|
|
119
|
+
readonly "15": 24;
|
|
120
|
+
readonly "\u266F15": 25;
|
|
121
|
+
readonly "\uD834\uDD2A15": 26;
|
|
122
|
+
};
|
|
123
|
+
export type CompoundInterval = keyof typeof _compoundIntervalToIntegerMap;
|
|
124
|
+
export type IntervalNumber = SimpleIntervalNumber | CompoundIntervalNumber;
|
|
125
|
+
declare const _intervalToIntegerMap: {
|
|
126
|
+
readonly "\uD834\uDD2B9": 12;
|
|
127
|
+
readonly "\u266D9": 13;
|
|
128
|
+
readonly "\u266E9": 14;
|
|
129
|
+
readonly "9": 14;
|
|
130
|
+
readonly "\u266F9": 15;
|
|
131
|
+
readonly "\uD834\uDD2A9": 16;
|
|
132
|
+
readonly "\uD834\uDD2B10": 14;
|
|
133
|
+
readonly "\u266D10": 15;
|
|
134
|
+
readonly "\u266E10": 16;
|
|
135
|
+
readonly "10": 16;
|
|
136
|
+
readonly "\u266F10": 17;
|
|
137
|
+
readonly "\uD834\uDD2A10": 18;
|
|
138
|
+
readonly "\uD834\uDD2B11": 15;
|
|
139
|
+
readonly "\u266D11": 16;
|
|
140
|
+
readonly "\u266E11": 17;
|
|
141
|
+
readonly "11": 17;
|
|
142
|
+
readonly "\u266F11": 18;
|
|
143
|
+
readonly "\uD834\uDD2A11": 19;
|
|
144
|
+
readonly "\uD834\uDD2B12": 17;
|
|
145
|
+
readonly "\u266D12": 18;
|
|
146
|
+
readonly "\u266E12": 19;
|
|
147
|
+
readonly "12": 19;
|
|
148
|
+
readonly "\u266F12": 20;
|
|
149
|
+
readonly "\uD834\uDD2A12": 21;
|
|
150
|
+
readonly "\uD834\uDD2B13": 19;
|
|
151
|
+
readonly "\u266D13": 20;
|
|
152
|
+
readonly "\u266E13": 21;
|
|
153
|
+
readonly "13": 21;
|
|
154
|
+
readonly "\u266F13": 22;
|
|
155
|
+
readonly "\uD834\uDD2A13": 23;
|
|
156
|
+
readonly "\uD834\uDD2B14": 21;
|
|
157
|
+
readonly "\u266D14": 22;
|
|
158
|
+
readonly "\u266E14": 23;
|
|
159
|
+
readonly "14": 23;
|
|
160
|
+
readonly "\u266F14": 24;
|
|
161
|
+
readonly "\uD834\uDD2A14": 25;
|
|
162
|
+
readonly "\uD834\uDD2B15": 22;
|
|
163
|
+
readonly "\u266D15": 23;
|
|
164
|
+
readonly "\u266E15": 24;
|
|
165
|
+
readonly "15": 24;
|
|
166
|
+
readonly "\u266F15": 25;
|
|
167
|
+
readonly "\uD834\uDD2A15": 26;
|
|
168
|
+
readonly "\uD834\uDD2B1": -2;
|
|
169
|
+
readonly "\u266D1": -1;
|
|
170
|
+
readonly "\u266E1": 0;
|
|
171
|
+
readonly "1": 0;
|
|
172
|
+
readonly "\u266F1": 1;
|
|
173
|
+
readonly "\uD834\uDD2A1": 2;
|
|
174
|
+
readonly "\uD834\uDD2B2": 0;
|
|
175
|
+
readonly "\u266D2": 1;
|
|
176
|
+
readonly "\u266E2": 2;
|
|
177
|
+
readonly "2": 2;
|
|
178
|
+
readonly "\u266F2": 3;
|
|
179
|
+
readonly "\uD834\uDD2A2": 4;
|
|
180
|
+
readonly "\uD834\uDD2B3": 2;
|
|
181
|
+
readonly "\u266D3": 3;
|
|
182
|
+
readonly "\u266E3": 4;
|
|
183
|
+
readonly "3": 4;
|
|
184
|
+
readonly "\u266F3": 5;
|
|
185
|
+
readonly "\uD834\uDD2A3": 6;
|
|
186
|
+
readonly "\uD834\uDD2B4": 3;
|
|
187
|
+
readonly "\u266D4": 4;
|
|
188
|
+
readonly "\u266E4": 5;
|
|
189
|
+
readonly "4": 5;
|
|
190
|
+
readonly "\u266F4": 6;
|
|
191
|
+
readonly "\uD834\uDD2A4": 7;
|
|
192
|
+
readonly "\uD834\uDD2B5": 5;
|
|
193
|
+
readonly "\u266D5": 6;
|
|
194
|
+
readonly "\u266E5": 7;
|
|
195
|
+
readonly "5": 7;
|
|
196
|
+
readonly "\u266F5": 8;
|
|
197
|
+
readonly "\uD834\uDD2A5": 9;
|
|
198
|
+
readonly "\uD834\uDD2B6": 7;
|
|
199
|
+
readonly "\u266D6": 8;
|
|
200
|
+
readonly "\u266E6": 9;
|
|
201
|
+
readonly "6": 9;
|
|
202
|
+
readonly "\u266F6": 10;
|
|
203
|
+
readonly "\uD834\uDD2A6": 11;
|
|
204
|
+
readonly "\uD834\uDD2B7": 9;
|
|
205
|
+
readonly "\u266D7": 10;
|
|
206
|
+
readonly "\u266E7": 11;
|
|
207
|
+
readonly "7": 11;
|
|
208
|
+
readonly "\u266F7": 12;
|
|
209
|
+
readonly "\uD834\uDD2A7": 13;
|
|
210
|
+
readonly "\uD834\uDD2B8": 10;
|
|
211
|
+
readonly "\u266D8": 11;
|
|
212
|
+
readonly "\u266E8": 12;
|
|
213
|
+
readonly "8": 12;
|
|
214
|
+
readonly "\u266F8": 13;
|
|
215
|
+
readonly "\uD834\uDD2A8": 14;
|
|
216
|
+
};
|
|
217
|
+
export type Interval = keyof typeof _intervalToIntegerMap;
|
|
218
|
+
export declare const intervalToIntegerMap: ReadonlyMap<Interval, number>;
|
|
219
|
+
export declare const simpleToExtensionIntervalMap: ReadonlyMap<SimpleInterval, CompoundInterval>;
|
|
220
|
+
export declare const extensionToSimpleIntervalMap: ReadonlyMap<CompoundInterval, SimpleInterval>;
|
|
221
|
+
export declare const simpleToCompoundIntervalMap: ReadonlyMap<SimpleInterval, CompoundInterval>;
|
|
222
|
+
export declare const compoundToSimpleIntervalMap: ReadonlyMap<CompoundInterval, SimpleInterval>;
|
|
223
|
+
export type IntervalQualityType = "dd" | "d" | "m" | "P" | "M" | "A" | "AA";
|
|
224
|
+
declare const _intervalQualityToIntegerMap: {
|
|
225
|
+
readonly dd1: -2;
|
|
226
|
+
readonly d1: -1;
|
|
227
|
+
readonly P1: 0;
|
|
228
|
+
readonly A1: 1;
|
|
229
|
+
readonly AA1: 2;
|
|
230
|
+
readonly dd2: -1;
|
|
231
|
+
readonly d2: 0;
|
|
232
|
+
readonly m2: 1;
|
|
233
|
+
readonly M2: 2;
|
|
234
|
+
readonly A2: 3;
|
|
235
|
+
readonly AA2: 4;
|
|
236
|
+
readonly dd3: 1;
|
|
237
|
+
readonly d3: 2;
|
|
238
|
+
readonly m3: 3;
|
|
239
|
+
readonly M3: 4;
|
|
240
|
+
readonly A3: 5;
|
|
241
|
+
readonly AA3: 6;
|
|
242
|
+
readonly dd4: 3;
|
|
243
|
+
readonly d4: 4;
|
|
244
|
+
readonly P4: 5;
|
|
245
|
+
readonly A4: 6;
|
|
246
|
+
readonly AA4: 7;
|
|
247
|
+
readonly dd5: 5;
|
|
248
|
+
readonly d5: 6;
|
|
249
|
+
readonly P5: 7;
|
|
250
|
+
readonly A5: 8;
|
|
251
|
+
readonly AA5: 9;
|
|
252
|
+
readonly dd6: 6;
|
|
253
|
+
readonly d6: 7;
|
|
254
|
+
readonly m6: 8;
|
|
255
|
+
readonly M6: 9;
|
|
256
|
+
readonly A6: 10;
|
|
257
|
+
readonly AA6: 11;
|
|
258
|
+
readonly dd7: 8;
|
|
259
|
+
readonly d7: 9;
|
|
260
|
+
readonly m7: 10;
|
|
261
|
+
readonly M7: 11;
|
|
262
|
+
readonly A7: 12;
|
|
263
|
+
readonly AA7: 13;
|
|
264
|
+
readonly dd8: 10;
|
|
265
|
+
readonly d8: 11;
|
|
266
|
+
readonly P8: 12;
|
|
267
|
+
readonly A8: 13;
|
|
268
|
+
readonly AA8: 14;
|
|
269
|
+
readonly dd9: 11;
|
|
270
|
+
readonly d9: 12;
|
|
271
|
+
readonly m9: 13;
|
|
272
|
+
readonly M9: 14;
|
|
273
|
+
readonly A9: 15;
|
|
274
|
+
readonly AA9: 16;
|
|
275
|
+
readonly dd10: 13;
|
|
276
|
+
readonly d10: 14;
|
|
277
|
+
readonly m10: 15;
|
|
278
|
+
readonly M10: 16;
|
|
279
|
+
readonly A10: 17;
|
|
280
|
+
readonly AA10: 18;
|
|
281
|
+
readonly dd11: 15;
|
|
282
|
+
readonly d11: 16;
|
|
283
|
+
readonly P11: 17;
|
|
284
|
+
readonly A11: 19;
|
|
285
|
+
readonly AA11: 20;
|
|
286
|
+
readonly dd12: 17;
|
|
287
|
+
readonly d12: 18;
|
|
288
|
+
readonly P12: 19;
|
|
289
|
+
readonly A12: 20;
|
|
290
|
+
readonly AA12: 21;
|
|
291
|
+
readonly dd13: 18;
|
|
292
|
+
readonly d13: 19;
|
|
293
|
+
readonly m13: 20;
|
|
294
|
+
readonly M13: 21;
|
|
295
|
+
readonly A13: 22;
|
|
296
|
+
readonly AA13: 23;
|
|
297
|
+
readonly dd14: 20;
|
|
298
|
+
readonly d14: 21;
|
|
299
|
+
readonly m14: 22;
|
|
300
|
+
readonly M14: 23;
|
|
301
|
+
readonly A14: 24;
|
|
302
|
+
readonly AA14: 25;
|
|
303
|
+
readonly dd15: 22;
|
|
304
|
+
readonly d15: 23;
|
|
305
|
+
readonly P15: 24;
|
|
306
|
+
readonly A15: 25;
|
|
307
|
+
readonly AA15: 26;
|
|
308
|
+
};
|
|
309
|
+
export type IntervalQuality = keyof typeof _intervalQualityToIntegerMap;
|
|
310
|
+
export declare const intervalQualityToIntegerMap: ReadonlyMap<IntervalQuality, number>;
|
|
311
|
+
export declare const intervalToIntervalQualityMap: ReadonlyMap<Interval, IntervalQuality>;
|
|
312
|
+
export declare const intervalQualityToIntervalMap: ReadonlyMap<IntervalQuality, Interval>;
|
|
313
|
+
export {};
|
|
314
|
+
//# sourceMappingURL=note-labels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"note-labels.d.ts","sourceRoot":"","sources":["../../../../src/src/data/labels/note-labels.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GA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