New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression issue - unable get fingering of cords after parsing xml file #1473
Comments
I believe that this is a known change and improvement. If a note is a Chord, then you should iterate over it:
The reason for the change is that it is possible to associate a particular fingering with a particular note in a chord, not just three fingerings to the chord as a whole. |
Thanks for quick response Is there a doc of upgrade from version 7 to 8? |
That'd be https://github.com/cuthbertLab/music21/releases/tag/v8.1.0 But I'm not seeing this there. I'll need to look at it over the weekend when I've recovered from an illness unless someone else remembers exactly what the issue is. I'm not sure my syntax above was exact, only that I remember the change being consciously made. We're trying to have a better changelog for v9. |
Feel well 🙏 I think you right with the syntax |
Am trying to replicate, but now seeing that there was no attached file. Can you attach? |
hmmm, the relevant changes seem to have happened in 2018, that's why they're so vague in my memory: #323 |
The file is a simple chord, adding it here I think the issue on clear the articulations of the notes, in xmlToM21.py -> function xmlToChord I don't know if we can just remove them or there is a reason they exist |
Moreover (another related issue) I think in xmlToChord we copy the first finger to chord object, that's why I received one finger
|
I bisected the change to b624ef3's changing |
Thanks @RoyShmuli and @jacobtylerwalls -- I completely misdiagnosed the issue. It turns out we never did the movement of fingerings to notes also. |
music21 version
Issue on version
8.1.0
Working well on version
7.3.3
Problem summary
Regression issue unless there is a new way, I didn't find out.
Unable get all fingering of chord, I'm receiving only the first finger
Steps to reproduce
Use the following code and the attached file (simple cord)
Expected vs. actual behavior
Actual getting 1 finger
Expected getting 3 fingers
More information
The text was updated successfully, but these errors were encountered: