Documentation
    Preparing search index...

    Function parseNote

    • Extracts the note name and octave from a note literal.

      Parameters

      • input: string
      • defaultOctave: number = DEFAULT_OCTAVE

      Returns Note

      The parsed Note

      parseNote("E4") // returns { note: "E", octave: 4, chroma: 4, midi: 64 }