Skip to content

Commit

Permalink
chore: simplify readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Jan 19, 2023
1 parent b45efa7 commit f06c0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ Chord.get("Cmaj7").name; // => "C major seventh"
// Chord inversions
const triad = Chord.degrees("Cm");
[1, 2, 3].map(triad); // => ["C", "Eb", "G"];
[2, 3, 4].map(triad); // => ["Eb", "G", "C"];
[3, 4, 5].map(triad); // => ["G", "C", "Eb"];
[2, 3, 1].map(triad); // => ["Eb", "G", "C"];
[3, 1, 2].map(triad); // => ["G", "C", "Eb"];
```

## Install
Expand Down

0 comments on commit f06c0b9

Please sign in to comment.