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

    Function analyzeVoicing

    • Analyzes how a chord is voiced: inversion, close or open position, drop 2 / drop 3 / drop 2+4, and which members are doubled, omitted or added. Notes may come in any order. Without chord, the first reading of Harmony.detectChords is used. Other tunings are read by the nearest 12-TET semitone.

      Parameters

      Returns VoicingAnalysis | null

      null when no chord is given and none is detected.

      analyzeVoicing(['G3', 'C4', 'E4', 'B4'].map(n => parseNote(n)), parseChordSymbol('Cmaj7'))
      // → inversion 2, drop 'drop 2' (from B G E C, G dropped), position 'close'