@musodojo/music-theory-data 20.1.1 → 20.1.2
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/README.md +9 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Muso Dojo | Music Theory Data
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Empower your music applications with a comprehensive, type-safe, and
|
|
4
|
+
musician-friendly TypeScript/JavaScript library for modes, scales, chords, and
|
|
4
5
|
more.**
|
|
5
6
|
|
|
6
7
|
[](https://www.npmjs.com/package/@musodojo/music-theory-data)
|
|
@@ -12,7 +13,10 @@ more.**
|
|
|
12
13
|
|
|
13
14
|
Have a question, a suggestion, or want to report a bug? Get in touch!
|
|
14
15
|
|
|
15
|
-
- **💬
|
|
16
|
+
- **💬 Join our Discord Server:** Connect with other developers and music
|
|
17
|
+
enthusiasts in the `#music-theory-data` channel on Discord.
|
|
18
|
+
|
|
19
|
+
- **📢 Ask a Question or Share an Idea:** Use
|
|
16
20
|
[GitHub Discussions](https://github.com/conor-dowdall/music-theory-data/discussions).
|
|
17
21
|
- **🐞 Report a Bug or Flaw in the Data:** Open a
|
|
18
22
|
[GitHub Issue](https://github.com/conor-dowdall/music-theory-data/issues).
|
|
@@ -49,13 +53,7 @@ const ionian: ModalScaleCollection = {
|
|
|
49
53
|
rotation: 0,
|
|
50
54
|
parentScale: "ionian",
|
|
51
55
|
primaryName: "Major",
|
|
52
|
-
names: [
|
|
53
|
-
"Major",
|
|
54
|
-
"Ionian",
|
|
55
|
-
"Major Scale",
|
|
56
|
-
"Ionian Mode",
|
|
57
|
-
"Diatonic Major",
|
|
58
|
-
],
|
|
56
|
+
names: ["Major", "Ionian", "Major Scale", "Ionian Mode", "Diatonic Major"],
|
|
59
57
|
intervals: ["1", "2", "3", "4", "5", "6", "7", "8"],
|
|
60
58
|
integers: [0, 2, 4, 5, 7, 9, 11],
|
|
61
59
|
type: [
|
|
@@ -167,11 +165,11 @@ console.log(ionian.primaryName);
|
|
|
167
165
|
console.log(ionian.intervals);
|
|
168
166
|
// ["1", "2", "3", "4", "5", "6", "7", "8"]
|
|
169
167
|
|
|
170
|
-
// Log
|
|
168
|
+
// Log an array of all available Note Collection Keys
|
|
171
169
|
console.log(Object.keys(music_theory_data.noteCollections));
|
|
172
170
|
// ["ionian", "dorian", "phrygian", ...]
|
|
173
171
|
|
|
174
|
-
// Log
|
|
172
|
+
// Log an array of all available Grouped Note Collections Keys
|
|
175
173
|
console.log(Object.keys(music_theory_data.groupedNoteCollections));
|
|
176
174
|
// ["diatonicModes", "pentatonicVariants", ...]
|
|
177
175
|
```
|