Skip to content
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

Synchronize Measure IDs on Musicxml out #1490

Merged
merged 4 commits into from
Jan 30, 2023
Merged

Conversation

rigaux
Copy link
Contributor

@rigaux rigaux commented Nov 30, 2022

Adding IDs to measures in MusicXML files. I added a call to _synchronizeIds(), just as it works already for other elements (eg, notes).

Adding IDs to measures in MusicXML files
@coveralls
Copy link

coveralls commented Dec 1, 2022

Coverage Status

Coverage: 93.054% (-0.02%) from 93.073% when pulling 7454e3a on rigaux:master into c9db6b7 on cuthbertLab:master.

@mscuthbert
Copy link
Member

Can you explain what this change does and add a test to show what the changed output is. THanks!

(Also a small flake issue)

@mscuthbert
Copy link
Member

Pinging @rigaux

@rigaux
Copy link
Contributor Author

rigaux commented Jan 11, 2023

Sorry for the late update. So: the goal is to export measure IDs to MusicXML. Our group annotates music score, and we need to refer to measures.

At the end, a measure element features an id attribute, e.g.,

I also added a test 'testExportIdOfMeasure ' in musicxml/test_m21ToXxml.py. It checks the existence of the 'id' attribute.

@mscuthbert
Copy link
Member

just fixed the flakes myself. Will merge if passes.

@mscuthbert mscuthbert changed the title Update m21ToXml.py Synchronize Measure IDs on Musicxml out Jan 30, 2023
@mscuthbert mscuthbert merged commit 05fb2d8 into cuthbertLab:master Jan 30, 2023
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.

3 participants