Skip to content

Update ScoreSimilarity.py#1

Open
NZX23 wants to merge 1 commit intomainfrom
NZX23-patch-1
Open

Update ScoreSimilarity.py#1
NZX23 wants to merge 1 commit intomainfrom
NZX23-patch-1

Conversation

@NZX23
Copy link
Copy Markdown
Owner

@NZX23 NZX23 commented Dec 31, 2023

The current method of finding a music21.Note's Clef, Time Signature, and Key Signature does not work for some initial notes that were extracted from a Chord object, whereby the .getContextByClass() method returns None. Adding the getElementMethod=ElementSearch.ALL argument would fix such errors. For example, the attached MusicXML files has 22% error on Clef, Key Signature and Time Signature, but visually it is clear that they have the same Clef, Key Signature and Time Signature, and therefore should have 0% error instead. This fix would resolve such errors.

ss_bug_scores.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant