@musodojo/music-theory-data 26.4.0 → 26.4.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/src/data/note-collections/mod.d.ts +3 -3
- package/esm/src/data/note-collections/other-collections.d.ts +2 -2
- package/esm/src/data/note-collections/other-collections.js +22 -22
- package/package.json +1 -1
- package/script/src/data/note-collections/mod.d.ts +3 -3
- package/script/src/data/note-collections/other-collections.d.ts +2 -2
- package/script/src/data/note-collections/other-collections.js +22 -22
|
@@ -11,9 +11,9 @@ export { otherNoteCollections } from "./other-collections.js";
|
|
|
11
11
|
/** A massive, flattened dictionary of every pre-defined musical note, dyad, scale, mode, chord, and arpeggio inside the library. */
|
|
12
12
|
export declare const noteCollections: {
|
|
13
13
|
readonly root: import("../../mod.js").NoteCollection;
|
|
14
|
-
readonly rootAndTritone: import("../../mod.js").NoteCollection;
|
|
15
|
-
readonly rootAndFourth: import("../../mod.js").NoteCollection;
|
|
16
14
|
readonly rootAndFifth: import("../../mod.js").NoteCollection;
|
|
15
|
+
readonly rootAndFourth: import("../../mod.js").NoteCollection;
|
|
16
|
+
readonly rootAndTritone: import("../../mod.js").NoteCollection;
|
|
17
17
|
readonly bluesPentatonic: import("../../mod.js").NoteCollection;
|
|
18
18
|
readonly chromatic: import("../../mod.js").NoteCollection;
|
|
19
19
|
readonly wholeTone: import("../../mod.js").NoteCollection;
|
|
@@ -82,7 +82,7 @@ export declare const groupedNoteCollections: {
|
|
|
82
82
|
readonly melodicMinorModes: Record<"melodicMinor" | "dorianFlat2" | "lydianAugmented" | "lydianDominant" | "mixolydianFlat6" | "aeolianFlat5" | "altered", import("../../mod.js").ModalScaleCollection>;
|
|
83
83
|
readonly diminishedVariants: Record<"diminishedTriad" | "diminished7" | "halfDiminished7" | "wholeHalfDiminished" | "halfWholeDiminished", import("../../mod.js").NoteCollection>;
|
|
84
84
|
readonly augmentedVariants: Record<"augmentedTriad" | "augmented7", import("../../mod.js").ChordCollection>;
|
|
85
|
-
readonly otherNoteCollections: Record<"root" | "
|
|
85
|
+
readonly otherNoteCollections: Record<"root" | "rootAndFifth" | "rootAndFourth" | "rootAndTritone" | "bluesPentatonic" | "chromatic" | "wholeTone", import("../../mod.js").NoteCollection>;
|
|
86
86
|
};
|
|
87
87
|
/** A strictly typed generic string representing the key of a top-level note collection category array. */
|
|
88
88
|
export type NoteCollectionGroupKey = keyof typeof groupedNoteCollections;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DyadCollection, NonModalScaleCollection, NoteCollection, NoteOnlyCollection } from "../../types/note-collections";
|
|
2
2
|
export declare const _otherNoteCollections: {
|
|
3
3
|
readonly root: NoteOnlyCollection;
|
|
4
|
-
readonly rootAndTritone: DyadCollection;
|
|
5
|
-
readonly rootAndFourth: DyadCollection;
|
|
6
4
|
readonly rootAndFifth: DyadCollection;
|
|
5
|
+
readonly rootAndFourth: DyadCollection;
|
|
6
|
+
readonly rootAndTritone: DyadCollection;
|
|
7
7
|
readonly bluesPentatonic: NonModalScaleCollection;
|
|
8
8
|
readonly chromatic: NonModalScaleCollection;
|
|
9
9
|
readonly wholeTone: NonModalScaleCollection;
|
|
@@ -10,17 +10,17 @@ const root = {
|
|
|
10
10
|
pattern: [],
|
|
11
11
|
patternShort: [],
|
|
12
12
|
};
|
|
13
|
-
const
|
|
13
|
+
const rootAndFifth = {
|
|
14
14
|
category: "dyad",
|
|
15
|
-
mostSimilarScale: "
|
|
16
|
-
primaryName: "Root and
|
|
17
|
-
names: ["Root and
|
|
18
|
-
intervals: ["1", "
|
|
19
|
-
integers: [0,
|
|
20
|
-
type: ["dyad", "
|
|
21
|
-
characteristics: ["
|
|
22
|
-
pattern: ["
|
|
23
|
-
patternShort: ["
|
|
15
|
+
mostSimilarScale: "ionian",
|
|
16
|
+
primaryName: "Root and Fifth",
|
|
17
|
+
names: ["Root and Fifth", "5", "Power Chord"],
|
|
18
|
+
intervals: ["1", "5"],
|
|
19
|
+
integers: [0, 7],
|
|
20
|
+
type: ["dyad", "power chord"],
|
|
21
|
+
characteristics: ["consonant", "rock", "blues", "metal"],
|
|
22
|
+
pattern: ["perfect fifth"],
|
|
23
|
+
patternShort: ["P5"],
|
|
24
24
|
};
|
|
25
25
|
const rootAndFourth = {
|
|
26
26
|
category: "dyad",
|
|
@@ -34,17 +34,17 @@ const rootAndFourth = {
|
|
|
34
34
|
pattern: ["perfect fourth"],
|
|
35
35
|
patternShort: ["P4"],
|
|
36
36
|
};
|
|
37
|
-
const
|
|
37
|
+
const rootAndTritone = {
|
|
38
38
|
category: "dyad",
|
|
39
|
-
mostSimilarScale: "
|
|
40
|
-
primaryName: "Root and
|
|
41
|
-
names: ["Root and
|
|
42
|
-
intervals: ["1", "5"],
|
|
43
|
-
integers: [0,
|
|
44
|
-
type: ["dyad", "
|
|
45
|
-
characteristics: ["
|
|
46
|
-
pattern: ["
|
|
47
|
-
patternShort: ["
|
|
39
|
+
mostSimilarScale: "locrian",
|
|
40
|
+
primaryName: "Root and Tritone",
|
|
41
|
+
names: ["Root and Tritone", "Tritone", "♭5", "Root and Flat Fifth"],
|
|
42
|
+
intervals: ["1", "♭5"],
|
|
43
|
+
integers: [0, 6],
|
|
44
|
+
type: ["dyad", "tritone"],
|
|
45
|
+
characteristics: ["tense", "unstable", "dissonant"],
|
|
46
|
+
pattern: ["tritone"],
|
|
47
|
+
patternShort: ["TT"],
|
|
48
48
|
};
|
|
49
49
|
const bluesPentatonic = {
|
|
50
50
|
category: "scale",
|
|
@@ -124,9 +124,9 @@ const wholeTone = {
|
|
|
124
124
|
};
|
|
125
125
|
export const _otherNoteCollections = {
|
|
126
126
|
root,
|
|
127
|
-
rootAndTritone,
|
|
128
|
-
rootAndFourth,
|
|
129
127
|
rootAndFifth,
|
|
128
|
+
rootAndFourth,
|
|
129
|
+
rootAndTritone,
|
|
130
130
|
bluesPentatonic,
|
|
131
131
|
chromatic,
|
|
132
132
|
wholeTone,
|
package/package.json
CHANGED
|
@@ -11,9 +11,9 @@ export { otherNoteCollections } from "./other-collections.js";
|
|
|
11
11
|
/** A massive, flattened dictionary of every pre-defined musical note, dyad, scale, mode, chord, and arpeggio inside the library. */
|
|
12
12
|
export declare const noteCollections: {
|
|
13
13
|
readonly root: import("../../mod.js").NoteCollection;
|
|
14
|
-
readonly rootAndTritone: import("../../mod.js").NoteCollection;
|
|
15
|
-
readonly rootAndFourth: import("../../mod.js").NoteCollection;
|
|
16
14
|
readonly rootAndFifth: import("../../mod.js").NoteCollection;
|
|
15
|
+
readonly rootAndFourth: import("../../mod.js").NoteCollection;
|
|
16
|
+
readonly rootAndTritone: import("../../mod.js").NoteCollection;
|
|
17
17
|
readonly bluesPentatonic: import("../../mod.js").NoteCollection;
|
|
18
18
|
readonly chromatic: import("../../mod.js").NoteCollection;
|
|
19
19
|
readonly wholeTone: import("../../mod.js").NoteCollection;
|
|
@@ -82,7 +82,7 @@ export declare const groupedNoteCollections: {
|
|
|
82
82
|
readonly melodicMinorModes: Record<"melodicMinor" | "dorianFlat2" | "lydianAugmented" | "lydianDominant" | "mixolydianFlat6" | "aeolianFlat5" | "altered", import("../../mod.js").ModalScaleCollection>;
|
|
83
83
|
readonly diminishedVariants: Record<"diminishedTriad" | "diminished7" | "halfDiminished7" | "wholeHalfDiminished" | "halfWholeDiminished", import("../../mod.js").NoteCollection>;
|
|
84
84
|
readonly augmentedVariants: Record<"augmentedTriad" | "augmented7", import("../../mod.js").ChordCollection>;
|
|
85
|
-
readonly otherNoteCollections: Record<"root" | "
|
|
85
|
+
readonly otherNoteCollections: Record<"root" | "rootAndFifth" | "rootAndFourth" | "rootAndTritone" | "bluesPentatonic" | "chromatic" | "wholeTone", import("../../mod.js").NoteCollection>;
|
|
86
86
|
};
|
|
87
87
|
/** A strictly typed generic string representing the key of a top-level note collection category array. */
|
|
88
88
|
export type NoteCollectionGroupKey = keyof typeof groupedNoteCollections;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DyadCollection, NonModalScaleCollection, NoteCollection, NoteOnlyCollection } from "../../types/note-collections";
|
|
2
2
|
export declare const _otherNoteCollections: {
|
|
3
3
|
readonly root: NoteOnlyCollection;
|
|
4
|
-
readonly rootAndTritone: DyadCollection;
|
|
5
|
-
readonly rootAndFourth: DyadCollection;
|
|
6
4
|
readonly rootAndFifth: DyadCollection;
|
|
5
|
+
readonly rootAndFourth: DyadCollection;
|
|
6
|
+
readonly rootAndTritone: DyadCollection;
|
|
7
7
|
readonly bluesPentatonic: NonModalScaleCollection;
|
|
8
8
|
readonly chromatic: NonModalScaleCollection;
|
|
9
9
|
readonly wholeTone: NonModalScaleCollection;
|
|
@@ -13,17 +13,17 @@ const root = {
|
|
|
13
13
|
pattern: [],
|
|
14
14
|
patternShort: [],
|
|
15
15
|
};
|
|
16
|
-
const
|
|
16
|
+
const rootAndFifth = {
|
|
17
17
|
category: "dyad",
|
|
18
|
-
mostSimilarScale: "
|
|
19
|
-
primaryName: "Root and
|
|
20
|
-
names: ["Root and
|
|
21
|
-
intervals: ["1", "
|
|
22
|
-
integers: [0,
|
|
23
|
-
type: ["dyad", "
|
|
24
|
-
characteristics: ["
|
|
25
|
-
pattern: ["
|
|
26
|
-
patternShort: ["
|
|
18
|
+
mostSimilarScale: "ionian",
|
|
19
|
+
primaryName: "Root and Fifth",
|
|
20
|
+
names: ["Root and Fifth", "5", "Power Chord"],
|
|
21
|
+
intervals: ["1", "5"],
|
|
22
|
+
integers: [0, 7],
|
|
23
|
+
type: ["dyad", "power chord"],
|
|
24
|
+
characteristics: ["consonant", "rock", "blues", "metal"],
|
|
25
|
+
pattern: ["perfect fifth"],
|
|
26
|
+
patternShort: ["P5"],
|
|
27
27
|
};
|
|
28
28
|
const rootAndFourth = {
|
|
29
29
|
category: "dyad",
|
|
@@ -37,17 +37,17 @@ const rootAndFourth = {
|
|
|
37
37
|
pattern: ["perfect fourth"],
|
|
38
38
|
patternShort: ["P4"],
|
|
39
39
|
};
|
|
40
|
-
const
|
|
40
|
+
const rootAndTritone = {
|
|
41
41
|
category: "dyad",
|
|
42
|
-
mostSimilarScale: "
|
|
43
|
-
primaryName: "Root and
|
|
44
|
-
names: ["Root and
|
|
45
|
-
intervals: ["1", "5"],
|
|
46
|
-
integers: [0,
|
|
47
|
-
type: ["dyad", "
|
|
48
|
-
characteristics: ["
|
|
49
|
-
pattern: ["
|
|
50
|
-
patternShort: ["
|
|
42
|
+
mostSimilarScale: "locrian",
|
|
43
|
+
primaryName: "Root and Tritone",
|
|
44
|
+
names: ["Root and Tritone", "Tritone", "♭5", "Root and Flat Fifth"],
|
|
45
|
+
intervals: ["1", "♭5"],
|
|
46
|
+
integers: [0, 6],
|
|
47
|
+
type: ["dyad", "tritone"],
|
|
48
|
+
characteristics: ["tense", "unstable", "dissonant"],
|
|
49
|
+
pattern: ["tritone"],
|
|
50
|
+
patternShort: ["TT"],
|
|
51
51
|
};
|
|
52
52
|
const bluesPentatonic = {
|
|
53
53
|
category: "scale",
|
|
@@ -127,9 +127,9 @@ const wholeTone = {
|
|
|
127
127
|
};
|
|
128
128
|
exports._otherNoteCollections = {
|
|
129
129
|
root,
|
|
130
|
-
rootAndTritone,
|
|
131
|
-
rootAndFourth,
|
|
132
130
|
rootAndFifth,
|
|
131
|
+
rootAndFourth,
|
|
132
|
+
rootAndTritone,
|
|
133
133
|
bluesPentatonic,
|
|
134
134
|
chromatic,
|
|
135
135
|
wholeTone,
|