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

    Function chordQualityFromIntervals

    • Chord quality from its intervals: 'maj7', 'm7', '7', 'dim7', 'm7b5', 'mM7', 'aug7', 'augM7', 'aug', 'dim', '7sus4', 'sus2', 'sus4', 'm', 'M', or '' when none fits. A tuning without 12 steps per octave is read through the 12-TET notes its steps stand for (Chord.retune); '' when one stands for none. Ninths, elevenths and sixths reduce to the triad or seventh below them (Cadd9 and C6/9 are 'M'); a chord is sus only without a third.

      Parameters

      • chord: Chord
      • oct: number = chord.tuningSystem.octaveSteps

      Returns string