Function scaleChords

  • Get all chords that fits a given scale

    Parameters

    • name: string

      the scale name

    Returns string[]

    • the chord names

    Function

    Example

    scaleChords("pentatonic") // => ["5", "64", "M", "M6", "Madd9", "Msus2"]