Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/key chords #447

Merged
merged 3 commits into from
Oct 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: version bump
  • Loading branch information
danigb committed Oct 6, 2024
commit 469e6a837655c1e0bc6df4302ae19fe7fa7748a7
5 changes: 0 additions & 5 deletions .changeset/five-planes-laugh.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/neat-zebras-allow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-eels-fry.md

This file was deleted.

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
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
2 changes: 1 addition & 1 deletion packages/key/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/key",
"version": "4.10.0",
"version": "4.11.0",
"description": "Functions to work with musical keys",
"keywords": [
"key",
7 changes: 7 additions & 0 deletions packages/modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @tonaljs/modules

## 4.8.8

### Patch Changes

- Updated dependencies [33693a1]
- tonal@6.3.0

## 4.8.7

### Patch Changes
4 changes: 2 additions & 2 deletions packages/modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/modules",
"version": "4.8.7",
"version": "4.8.8",
"description": "deprecated",
"keywords": [],
"main": "dist/index.js",
@@ -10,7 +10,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"tonal": "6.2.0"
"tonal": "6.3.0"
},
"author": "danigb@gmail.com",
"license": "MIT",
4 changes: 2 additions & 2 deletions packages/tonal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tonal",
"version": "6.2.0",
"version": "6.3.0",
"description": "tonaljs music theory library",
"keywords": [
"music",
@@ -24,7 +24,7 @@
"@tonaljs/core": "5.0.1",
"@tonaljs/duration-value": "4.9.0",
"@tonaljs/interval": "5.1.0",
"@tonaljs/key": "4.10.0",
"@tonaljs/key": "4.11.0",
"@tonaljs/midi": "4.10.0",
"@tonaljs/mode": "4.9.0",
"@tonaljs/note": "4.11.0",