Skip to content

lovsang-no/chordpro-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChordPro-converter

Simple Vanilla JS app for creating chord charts and converting to ChordPro bracketed format.

Initalize Song object

const song = new Song(template)

Parse as HTML text using spaces

song.parsePlainHTML(DOMElement)

Parse as table

song.parseHTMLTable(DOMElement)

Change whats being parsed

Default: chords

song.parseChords()
song.parseLyrics()
song.parseNashville()

Update template

song.reInitialize(template)

Huge thank's to @gulaker for helping out in the early stages and with the logic behind this script.