Skip to content

Discrepancy between docs and actual result of Interval.simplify #477

@francishamel

Description

@francishamel

Hi! I noticed a discrepancy in the docs.

In the docs, we see that calling ["8P", "9M", "10M", "11P", "12P", "13M", "14M", "15P"].map(Interval.simplify) should return [ "8P", "2M", "3M", "4P", "5P", "6M", "7M", "8P" ], but what is actually returned is "8P", "2M", "3M", "4P", "5P", "6M", "7M", "1P" ]. Are the docs wrong or is there a bug?

I'm currently using tonal 6.4.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions