]> git.cworth.org Git - scherzo/commit
Simplify chord-signature matching by dropping duplicates first
authorCarl Worth <cworth@cworth.org>
Wed, 18 Sep 2013 18:21:34 +0000 (11:21 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Sep 2013 18:21:34 +0000 (11:21 -0700)
commit265293b2749e886423099c3ead8825464bcd759a
tree417427e6baf31ac6485d22b18f336e3c745f5457
parent2e37869bdeb7a9a6de2b758eb704320e00aae5c3
Simplify chord-signature matching by dropping duplicates first

Previously, all the duplicate notes were still present in the chord
while trying to determine if the duplicate matched. Now, we cull out
the duplicates before looking for a match, which makes the matching
code much simpler.
scherzo.c