Skip to content

Latest commit

 

History

History
163 lines (104 loc) · 2.84 KB

CHANGELOG.md

File metadata and controls

163 lines (104 loc) · 2.84 KB

@tonaljs/note

4.12.0

Minor Changes

  • b791283: ### Export NoteType and IntervalType types

    Typescript types NoteType and IntervalType are now exported:

    import { Interval, IntervalType, Note, NoteType } from "tonal";
    
    const note: NoteType = Note.get("C4");
    const interval: IntervalType = Interval.get("P4");

Patch Changes

4.11.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

  • 3cd5f16: #### Fix: add Note.distance back

    The documentation said Note.distance was available, but was not.

    Now you can do:

    import { Note } from "tonal";
    Note.distance("c4", "e7"); // => "24M"
  • Updated dependencies [b113754]

  • Updated dependencies [4e05792]

4.10.3

Patch Changes

4.10.2

Patch Changes

4.10.1

Patch Changes

4.10.0

Minor Changes

Refactor transposeFifths and transposeOctaves

Patch Changes

4.9.0

Minor Changes

  • Scale.degrees new function

    Example: [1, 2, 3].map(Scale.degrees("C major")) => ["C", "D", "E"]

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