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

    Function parsePolychord

    • Parses a polychord notation into two separate chords.

      Formats supported:

      • "Fmaj7|Gmaj7" - upper chord | lower chord (vertical stack)
      • "D/C" - upper chord over the triad of the bass note; throws when the bass is a tone of the upper chord ("C/E" is an inversion: use parseChordSymbol)

      Parameters

      Returns { lower: Chord; upper: Chord }

      • lower: Chord

        The chord below (for 'D/C', the major triad on C).

      • upper: Chord

        The chord on top.

      if the symbol cannot be parsed.