chordsheetjs
    Preparing search index...

    Class ChordSheetParser

    Parses a normal chord sheet

    ChordSheetParser is deprecated, please use ChordsOverWordsParser.

    ChordsOverWordsParser aims to support any kind of chord, whereas ChordSheetParser lacks support for many variations. Besides that, some chordpro feature have been ported back to ChordsOverWordsParser, which adds some interesting functionality.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    • Instantiate a chord sheet parser ChordSheetParser is deprecated, please use ChordsOverWordsParser.

      Parameters

      • Optional__namedParameters: { preserveWhitespace?: boolean } = {}
      • showDeprecationWarning: boolean = true

      Returns ChordSheetParser

    Methods

    • Parses a chord sheet into a song

      Parameters

      • chordSheet: string

        The ChordPro chord sheet

      • Optionaloptions: { song?: Song } = {}

        Optional parser options

        • Optionalsong?: Song

          The Song to store the song data in

      Returns Song

      The parsed song