saebekassebil / teoria

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

Get a triad chord for a given degree in the scale #130

Open renatomartins opened 4 years ago

renatomartins commented 4 years ago

Here's a naive approach to generate triads for diatonic scale degrees. Perhaps an improvement here would be to accept a chord symbol to modify the default chord quality, as @Walther mentioned in #106.