Closed raff closed 8 years ago
Thanks @raff !
I've edited this issue to reflect that it has an underlying refactoring (which I like very much) wherein note expression is switched to be either "sharps" or "flats".
@raff here is my implementation of your request. Great idea! https://github.com/go-music-theory/music-theory/pull/15/files
Now included in master. The change will make it into release 0.0.3. Example:
$ music-theory chord Bb7
root: Bb
tones:
1: Bb
3: D
5: F
7: Ab
$ music-theory chord A#7
root: A#
tones:
1: A#
3: D
5: F
7: G#
Great! Thanks!!!!
The option to return flats is switched based on the input request. E.g. if the requested chord contains "flats" the output notes should all be expressed with flats.
For example:
returns:
should return: