Skip to content

Commit bc6f12a

Browse files
committed
chore: more changeset documentation
1 parent 7759211 commit bc6f12a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.changeset/flat-games-sneeze.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,12 @@ Example:
4141
Chord.get("Cmaj7/B");
4242
Chord.get("Eb/D");
4343
```
44+
45+
### Feature: chord `notes`
46+
47+
Now `notes` property of a chord are always pitch classes, there's a new function to get the actual notes:
48+
49+
```js
50+
Chord.notes("Cmaj7", "C4"); // => ['C4', 'E4', 'G4', 'B4']
51+
Chord.notes("maj7", "D5"); // => ['D5', 'F#5', 'A5', 'C#6']
52+
```

0 commit comments

Comments
 (0)