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

    Function chordToneOffset

    • Letter offset of a chord tone above the root, from its interval in semitones and the rest of the chord (pcs: the chord's intervals mod 12): 6 is b5 without a perfect fifth and #11 with one; 8 is #5 or b13; 3 is #9 when the chord has a major third; 9 is the bb7 of a diminished seventh.

      Parameters

      • semitones: number
      • pcs: ReadonlySet<number>

      Returns number