Function transposeBy

  • Transpose by an interval.

    Parameters

    • interval: string

    Returns ((note) => string)

    a function that transposes by the given interval

      • (note): string
      • Parameters

        • note: string

        Returns string

    Function

    Example

    ["C", "D", "E"].map(Note.transposeBy("5P"));
    // => ["G", "A", "B"]