We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
music21 version
Music21 9.1.0
Problem summary
In measure 7 of https://verovio.humdrum.org/?file=chorales/chor001.krn there's a fermata. In the same measure, the chorale continues. The note after the fermata has as measure 0.
# to reproduce score = m21.converter.parse('chor001.krn', format='humdrum') for element in score.recurse().getElementsByClass([m21.note.Note]): print( element.pitch.step, element.pitch.octave, element.pitch.accidental.alter if element.pitch.accidental else 0, element.quarterLength, element.getOffsetInHierarchy(score), element.getContextByClass('Part').id, element.activeSite.measureNumber ) if element.activeSite.measureNumber == 8: break # results in G 4 0 1.0 0.0 spine_3 0 G 4 0 2.0 1.0 spine_3 1 D 5 0 1.0 3.0 spine_3 1 B 4 0 1.5 4.0 spine_3 2 A 4 0 0.5 5.5 spine_3 2 G 4 0 1.0 6.0 spine_3 2 G 4 0 1.5 7.0 spine_3 3 A 4 0 0.5 8.5 spine_3 3 B 4 0 1.0 9.0 spine_3 3 A 4 0 2.0 10.0 spine_3 4 B 4 0 1.0 12.0 spine_3 4 D 5 0 2.0 13.0 spine_3 5 C 5 0 1.0 15.0 spine_3 5 B 4 0 1.0 16.0 spine_3 6 A 4 0 2.0 17.0 spine_3 6 G 4 0 2.0 19.0 spine_3 7 B 4 0 1.0 21.0 spine_3 0 <------- 0 in stead of 7 B 4 0 1.0 22.0 spine_3 8
Expected vs. actual behavior
I expected the measure number to be 7
More information
The text was updated successfully, but these errors were encountered:
No branches or pull requests
music21 version
Music21 9.1.0
Problem summary
In measure 7 of https://verovio.humdrum.org/?file=chorales/chor001.krn there's a fermata. In the same measure, the chorale continues. The note after the fermata has as measure 0.
Expected vs. actual behavior
I expected the measure number to be 7
More information
The text was updated successfully, but these errors were encountered: