@musodojo/music-theory-data 20.1.0 → 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 +14 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
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
|
|
|
7
|
+
[](https://www.npmjs.com/package/@musodojo/music-theory-data)
|
|
8
|
+
[](https://www.npmjs.com/package/@musodojo/music-theory-data)
|
|
9
|
+
|
|
10
|
+
[](https://jsr.io/@musodojo/music-theory-data)
|
|
11
|
+
|
|
6
12
|
## Community & Support
|
|
7
13
|
|
|
8
14
|
Have a question, a suggestion, or want to report a bug? Get in touch!
|
|
9
15
|
|
|
10
|
-
- **💬
|
|
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
|
|
11
20
|
[GitHub Discussions](https://github.com/conor-dowdall/music-theory-data/discussions).
|
|
12
21
|
- **🐞 Report a Bug or Flaw in the Data:** Open a
|
|
13
22
|
[GitHub Issue](https://github.com/conor-dowdall/music-theory-data/issues).
|
|
@@ -44,13 +53,7 @@ const ionian: ModalScaleCollection = {
|
|
|
44
53
|
rotation: 0,
|
|
45
54
|
parentScale: "ionian",
|
|
46
55
|
primaryName: "Major",
|
|
47
|
-
names: [
|
|
48
|
-
"Major",
|
|
49
|
-
"Ionian",
|
|
50
|
-
"Major Scale",
|
|
51
|
-
"Ionian Mode",
|
|
52
|
-
"Diatonic Major",
|
|
53
|
-
],
|
|
56
|
+
names: ["Major", "Ionian", "Major Scale", "Ionian Mode", "Diatonic Major"],
|
|
54
57
|
intervals: ["1", "2", "3", "4", "5", "6", "7", "8"],
|
|
55
58
|
integers: [0, 2, 4, 5, 7, 9, 11],
|
|
56
59
|
type: [
|
|
@@ -162,11 +165,11 @@ console.log(ionian.primaryName);
|
|
|
162
165
|
console.log(ionian.intervals);
|
|
163
166
|
// ["1", "2", "3", "4", "5", "6", "7", "8"]
|
|
164
167
|
|
|
165
|
-
// Log
|
|
168
|
+
// Log an array of all available Note Collection Keys
|
|
166
169
|
console.log(Object.keys(music_theory_data.noteCollections));
|
|
167
170
|
// ["ionian", "dorian", "phrygian", ...]
|
|
168
171
|
|
|
169
|
-
// Log
|
|
172
|
+
// Log an array of all available Grouped Note Collections Keys
|
|
170
173
|
console.log(Object.keys(music_theory_data.groupedNoteCollections));
|
|
171
174
|
// ["diatonicModes", "pentatonicVariants", ...]
|
|
172
175
|
```
|