@musodojo/music-theory-data 16.1.1 → 16.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.
Files changed (2) hide show
  1. package/README.md +11 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,6 +6,10 @@ more.**
6
6
  > **Note:** This library is currently under review for accuracy. Please verify
7
7
  > data before use in a critical application.
8
8
 
9
+ ## Discord
10
+
11
+ **[Join the Muso Dojo Community on Discord!](https://discord.gg/7nrnVmmH)**
12
+
9
13
  ## Verified Note Collections
10
14
 
11
15
  - ✅ Diatonic Modes
@@ -70,16 +74,19 @@ The code below shows how to access and print some of the data.
70
74
  import * as music_theory_data from "jsr:@musodojo/music-theory-data";
71
75
 
72
76
  // Get the notes of A Harmonic Minor
73
- const notes = music_theory_data.getNoteNamesFromRootAndCollectionKey(
77
+ const notes1 = music_theory_data.getNoteNamesFromRootAndCollectionKey(
74
78
  "A",
75
79
  "harmonicMinor",
76
80
  );
77
- console.log(notes);
81
+ console.log(notes1);
78
82
  // ["A", "B", "C", "D", "E", "F", "G♯", "A"]
79
83
 
80
84
  // Automatically knows whether to use flats or sharps
81
- notes = music_theory_data.getNoteNamesFromRootAndCollectionKey("F", "ionian");
82
- console.log(notes);
85
+ const notes2 = music_theory_data.getNoteNamesFromRootAndCollectionKey(
86
+ "F",
87
+ "ionian",
88
+ );
89
+ console.log(notes2);
83
90
  // ["F", "G", "A", "B♭", "C", "D", "E", "F"];
84
91
 
85
92
  // Get the full data structure for the Ionian mode (Major Scale)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@musodojo/music-theory-data",
3
- "version": "16.1.1",
3
+ "version": "16.1.2",
4
4
  "description": "The musician-friendly TypeScript library for modes, scales, chords, and more.",
5
5
  "keywords": [
6
6
  "music",