Function transpose

  • Transpose a chord name

    Parameters

    • chordName: string

      the chord name

    • interval: string

    Returns string

    the transposed chord

    Example

    transpose('Dm7', 'P4') // => 'Gm7