Skip to content

Commit

Permalink
Feat/key chords (#447)
Browse files Browse the repository at this point in the history
* feat: generate secondary and substitute dominants and supertonics

* feat: update tonal

* chore: version bump
  • Loading branch information
danigb authored Oct 6, 2024
1 parent d1f2d3a commit aa083dd
Show file tree
Hide file tree
Showing 13 changed files with 2,341 additions and 368 deletions.
12 changes: 12 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# tonal

## 6.3.0

- New `Key.majorKeyChords` and `Key.minorKeyChords` functions.

```js
import * as Key from "tonal";

Key.majorKeyChords("C").find((chord) => chord.name === "Em"); // => { name: "Em", roles: ["T", "ii/II"] }
```

- Renamed fields of key results. `secondaryDominantsMinorRelative` is now `secondaryDominantSupertonics` and `substituteDominantsMinorRelative` is now `substituteDominantSupertonics`. Previous names are kept for compatibility as deprecated (will be removed in next major version)

## 6.2.0

### Minor Changes
Expand Down
12 changes: 12 additions & 0 deletions packages/key/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @tonaljs/key

## 4.11.0

- New `Key.majorKeyChords` and `Key.minorKeyChords` functions.

```js
import * as Key from "tonal";

Key.majorKeyChords("C").find((chord) => chord.name === "Em"); // => { name: "Em", roles: ["T", "ii/II"] }
```

- Renamed fields of key results. `secondaryDominantsMinorRelative` is now `secondaryDominantSupertonics` and `substituteDominantsMinorRelative` is now `substituteDominantSupertonics`. Previous names are kept for compatibility as deprecated (will be removed in next major version)

## 4.10.0

### Minor Changes
Expand Down
Loading

0 comments on commit aa083dd

Please sign in to comment.