Skip to content

Latest commit

 

History

History
153 lines (100 loc) · 2.93 KB

CHANGELOG.md

File metadata and controls

153 lines (100 loc) · 2.93 KB

@tonaljs/key

4.11.1

Patch Changes

4.11.0

  • New Key.majorKeyChords and Key.minorKeyChords functions.
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

  • b113754: #### default export is deprecated for @tonaljs modules

    Using default exports for single packages are deprecated, so instead of:

    import Note from "@tonaljs/note";

    You should do this:

    import * as Note from "@tonaljs/note";

    The same for all modules.

Patch Changes

4.9.4

Patch Changes

4.9.3

Patch Changes

4.9.2

Patch Changes

4.9.1

Patch Changes

  • Fix test

4.9.0

Minor Changes

  • 10056eff: Add triads to key.

    For example: Key.majorKey("C").triads or Key.minorKey("C").melodic.triads

4.8.0

Minor Changes

    • fix time signature parsing
    • add support for irrational time signatures
    • add option assumePerfectFifth to Chord.detect function

Patch Changes

4.7.2

Patch Changes

4.7.1

Patch Changes

4.7.0

Minor Changes

  • b120fc42: Publish tonal in tonal package. So use npm install tonal instead of npm install @tonaljs/tonal

Patch Changes

4.6.10

Patch Changes