acspike/ChordJS — pull request #1 by laher (2012-11-20 11:46:41+00:00)
Title: I've added some knowledge about common chords and chord progressions

Hi there,

I found your project while hoping to print off some chord progressions in different keys, and I saw your awesome library. Lovely. It only took me a couple of hours to get what I wanted from it.

So, I added 'chords-common.js', containing data about common chords and keys.
Please also see common.html and progressions.html, for the sample pages I'll print off in the morning.

Note that I've left space in the data structure for alternate tunings, alternate fingerings (for each chord), and all the other chord 'families' (I've only defined single fingerings for major, minor and seventh chords so far).
The naming of sharps/flats is a bit clunky, I could add a kind of 'alias' thing to beautify that a bit.
I'm a beginner musician, so I couldn't think of a very mathsy way to represent keys, but this works fine for now.

No offence taken if you don't want this contribution, or you completely rewrite it - you probably already have other ideas of how to do what I just did, so no worries.
In the meantime I'll probably take this further, and if you prefer I'm open to making it a completely separate project, with a dependency on ChordJS, if that's what you'd prefer.

Thanks very much for the great project.
All the very best
Am