Skip to content

Commit

Permalink
Fix README for key package (tonaljs#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
parkersiddall authored Mar 9, 2024
1 parent 949de9b commit 2e30d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/key/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const { Key } = require("tonal");
Tonics of any key are represented with pitch classes (octaves are discarded).

```js
Key.major("C4"); // is equal to
Key.major("C");
Key.majorKey("C4"); // is equal to
Key.majorKey("C");
```

#### `majorKey(tonic: string) => MajorKey`
Expand Down

0 comments on commit 2e30d71

Please sign in to comment.