Skip to content

A .NET library to parse, transpose, and analyze chord sheets

License

Notifications You must be signed in to change notification settings

codeapologist/SmartChord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Chord

Smart Chord NuGet Build status

A .NET library to parse, transpose, and analyze chord sheets

Usage

string chordSheet = 

@"Tears in Heaven – Eric Clapton

A   E/G#  F#m   D  E7sus E7  A

[Chorus]

A            E       F#m
Would you know my name,
D    A            E
If I saw you in heaven"

Provide the transposer the text of the chord sheet and destination key.

var transposer = new Transposer();

var output = transposer.ChangeKey(chordSheet, "C"); //The original key is A.

The output:

Tears in Heaven – Eric Clapton

C   G/B  Am   F  G7sus G7  C


[Chorus]

C            G       Am
Would you know my name,
F    C            G
If I saw you in heaven

Optionally, you can provide the original key of the song. The transposer will attempt to determine the key if omitted.

About

A .NET library to parse, transpose, and analyze chord sheets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published