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

    Function scaleName

    • A scale or mode name in another language, with or without a root: the name of findScalesForNotes and scale of getSuggestedScales ('D dorian'), or the sourceMode of getBorrowedChords and borrowedFrom of analyzeProgression ('harmonic minor'). Names without a translation (hirajoshi, pelog, freygish…) are kept. Roots are in solfège in Spanish and in letters in English unless roots says otherwise.

      Parameters

      • name: string
      • language: ChordNameLanguage = 'en'
      • options: { roots?: "letters" | "solfege" } = {}

      Returns string

      scaleName('F# lydian dominant', 'es') // 'Fa# lidio dominante'
      
      scaleName('A harmonic minor', 'en', { roots: 'solfege' }) // 'La harmonic minor'