Libreria para parsear acordes y tranponerlos
npm install micro-chord-parserbash
npm i micro-chord-parser
`
Demonstrations
`javascript
import {chordParser,
textParser,
htmlParser,
sustainTransposer,
bemolTransposer,
weirdTransposer
} from "microChordParser.js"
var songs =
Bb
`
$3
`javascript
console.log(textParser(sustainTransposer(chordParser(songs), 1)))
`
`bash
B
Who breaks the power of sin and darkness
E
Whose love is mighty and so much stronger
G#m F# E
The king of glory, the king above all kings
`
$3
`javascript
console.log(textParser(bemolTransposer(chordParser(songs), 1)))
`
`bash
B
Who breaks the power of sin and darkness
E
Whose love is mighty and so much stronger
Abm Gb E
The king of glory, the king above all kings
`
$3
`javascript
console.log(htmlParser(sustainTransposer(chordParser(songs))))
`
`bash
A#
Who breaks the power of sin and darkness
D#
Whose love is mighty and so much stronger
Gm F D#
The king of glory, the king above all kings
`
$3
`javascript
console.log(htmlParser(bemolTransposer(chordParser(songs))))
`
`bash
Bb
Who breaks the power of sin and darkness
Eb
Whose love is mighty and so much stronger
Gm F Eb
The king of glory, the king above all kings
``