saebekassebil / teoria

Javascript taught Music Theory
http://saebekassebil.github.io/teoria
MIT License
1.32k stars 114 forks source link

Expose some method of listing all chord types #73

Closed dbkaplun closed 9 years ago

dbkaplun commented 9 years ago

Related: #72

saebekassebil commented 9 years ago

Well this is impossible/impractical. But it should be possible (and useful) to export all triad chord types (major, minor, diminished, augmented, sus2, sus4, #5, b5)

dbkaplun commented 9 years ago

I understand there may be some technical difficulties with this, but I think it's worth it if it's at all possible. Someone making a music app would want to let their users pick from a list of chords, no?

saebekassebil commented 9 years ago

But this is not the scope of this library (which is already to wide). You should probably make a dictionary of some kind in some other module? The chords that are "hard-coded" in teoria, are chords used by the chord parser - not for listing.

dbkaplun commented 9 years ago

Up to you I suppose. I still think it would be useful to have a list of chords but I understand if it's too much work.

saebekassebil commented 9 years ago

It would certainly be useful to such people that needs such information - but I'm not one of those and since this library is for analyzing and (dynamically) generating stuff w. regards to music theory I don't think a dictionary of chord names would be valuable here.

You could maybe generate a list from here: http://en.wikibooks.org/wiki/Music_Theory/Complete_List_of_Chord_Patterns