saebekassebil / teoria

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

Expose the available scales #94

Closed emanchado closed 8 years ago

emanchado commented 9 years ago

The file lib/scale.js contains a list of known scales that can be used in the constructor of the Scale class. The list isn't, however, available to code using requiring teoria, so if you wanted to, say, make a UI with a dropdown with scales, you would have to duplicate the list.

As it's trivial to expose the list, and it's useful, it would be nice if it was available. I can prepare the (trivial) patch if you want.

saebekassebil commented 9 years ago

Let's do that.

saebekassebil commented 8 years ago

Fixed in #95