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

    Function formatChordSymbol

    • Writes a chord symbol in another style, optionally with the root (and slash bass) in solfège.

      • 'standard': as the library writes it (Cmaj7, Cm7, Cm7b5, Cdim7, Caug)
      • 'symbols': jazz symbols (CΔ7, C-7, Cø7, C°7, C+, C-Δ7)
      • 'short': M for major seventh (CM7, CM9)

      Parameters

      Returns string

      formatChordSymbol('F#m7b5', { style: 'symbols', roots: 'solfege' }) // 'Fa#ø7'