Function split

  • Find a fraction that splits the given fraction assuming that the gives commas are tempered out.

    Parameters

    • fraction: MonzoValue

      Fraction to split.

    • commas: MonzoValue[]

      List of commas that should only affect the spelling, but not the pitch.

    • Optional divisions: number

      How many pieces to split into. Calculated if not known initially.

    • searchBreadth: number = 3

      Half-width of the search lattice.

    Returns Fraction

    Fraction that stacked divisions times equals the given fraction in the given temperament.

Generated using TypeDoc