Skip to content

Commit

Permalink
chore: more changeset documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Feb 3, 2024
1 parent 7759211 commit bc6f12a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/flat-games-sneeze.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@ Example:
Chord.get("Cmaj7/B");
Chord.get("Eb/D");
```

### Feature: chord `notes`

Now `notes` property of a chord are always pitch classes, there's a new function to get the actual notes:

```js
Chord.notes("Cmaj7", "C4"); // => ['C4', 'E4', 'G4', 'B4']
Chord.notes("maj7", "D5"); // => ['D5', 'F#5', 'A5', 'C#6']
```

0 comments on commit bc6f12a

Please sign in to comment.