]> git.cworth.org Git - scherzo/commit
Fix bugs in mismatched spelling of chord name and notes
authorCarl Worth <cworth@cworth.org>
Mon, 30 Sep 2013 05:42:15 +0000 (22:42 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 30 Sep 2013 05:42:15 +0000 (22:42 -0700)
commitaae6b7f55870ab7f9cd41f95e22231e66a673aea
tree29fe7ef2929d4393b395f4b541ada6ed9ea2de2b
parentd38e3c6abf6d5aeb287ec1d1262015d8b4a81198
Fix bugs in mismatched spelling of chord name and notes

When the notes of a chord were re-spelled to match the degrees of the
matching signature, the root note was not being updated, so the
chord-name symbol still reflected the name of the un-respelled root
note. This was a bug introduced in the recent shakeup to do analysis
more entirely in the scherzo layer without using score_note_t.

Fixing this required a fair amount of refactoring. Hopefully the
result is cleaner and more maintainable.
scherzo.c
score.c
score.h