Function fromMidiSharps

  • Given a midi number, returns a note name. Uses flats for altered notes.

    Parameters

    • midi: number

      the midi note number

    Returns string

    the note name

    Function

    Example

    Note.fromMidiSharps(61) // => "C#4"