Universal Music Theory Library - v0.12.0
    Preparing search index...

    Function getSemanticIntervalName

    • Returns a human-readable interval name from a cent value. Matches to the nearest 12-TET interval within ±10 cents, compound intervals included (Major 10th (M10), Perfect 15th (P15)); the tritone is Tritone (A4/d5) and its compounds Augmented 11th (A11). Otherwise returns the raw cent value. Useful for microtonal tunings where exact semitone counts don't apply.

      Parameters

      • cents: number

        Interval size in cents (negative: measured downwards).

      Returns string

      Interval name, e.g. "Major 3rd (M3)", or "350.00 cents" if no match.