Function vanishCommas

  • Adjust mapping until specified commas vanish.

    Parameters

    • commas: MonzoValue[]

      Array of commas in the mapping's semantics.

    • Optional subgroupOrJip: Subgroup | Mapping

      A Subgroup instance or a just intonation point (JIP).

    • Optional weights: Weights

      Importance weighting for the JIP's coordinates (defaults to 1 / JIP).

    • temperEquaves: boolean = true

      If true tempering is applied to octaves as well.

    • units: PitchUnits = 'cents'

      The units pitch of intervals and mappings are measured in.

    • numberOfIterations: number = 1000

      Number of iterations to adjust the mapping.

    Returns number[]

    A mapping close to the JIP where the commas vanish.

Generated using TypeDoc