Created
June 2, 2018 01:02
-
-
Save Matheus-de-Souza/6930340a2e673f396bbdf7c807b74394 to your computer and use it in GitHub Desktop.
A little gist to copy and paste your chords and transposing it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Transposer = require('chord-transposer'); | |
const ncp = require("copy-paste"); | |
const cifra = ncp.paste(); | |
const result = Transposer.transpose(cifra).fromKey('G').toKey('A').toString(); | |
ncp.copy(result, () => { | |
console.log('copied!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment