Skip to content

Fix #321960: [MusicXML export] Tempo beating at the whole does not ex… #8793

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

Merged

Conversation

lvinken
Copy link
Contributor

@lvinken lvinken commented Aug 4, 2021

…port in .musicxml format

Resolves: https://musescore.org/en/node/321960

Issue leads to invalid and incomplete MusicXML export. Trivial bug, caused by superfluous and incomplete findUnit() function in exportxml.cpp. Solution supports all tempo text note values supported by MuseScore.

  • I signed CLA
  • I made sure the code in the PR follows the coding rules
  • I made sure the code compiles on my machine
  • I made sure there are no unnecessary changes in the code
  • I made sure the title of the PR reflects the core meaning of the issue you are solving
  • I made sure the commit message(s) contain a description and answer the question "Why do those changes fix that particular issue?" or "Why are those changes really necessary as improvements?"
  • I made sure the commit message title starts with "fix #424242:" if there is a related issue
  • I created the test (mtest, vtest, script test) to verify the changes I made

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 4, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 4, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 7, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 13, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 13, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 19, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 30, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 1, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 2, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 9, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 10, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
@lvinken
Copy link
Contributor Author

lvinken commented Sep 19, 2021

Test failure seems completely unrelated to the change in this pull request:
xvfb-run: error: Xvfb failed to start

@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Sep 19, 2021

Yes, those do happen at times and seemingly random.
My corresponding backport to 3.x passes the tests.

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 23, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 26, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Sep 29, 2021
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
@Jojo-Schmitz
Copy link
Contributor

Jojo-Schmitz commented Nov 30, 2021

I guess after re-running the vtests this one should be ready for merge?

@lvinken
Copy link
Contributor Author

lvinken commented Dec 1, 2021

Most likely. Is there any way to achieve that (besides updating the branch, e.g. by rebasing) ?

@Jojo-Schmitz
Copy link
Contributor

Not for mere mortals like us .

@lvinken lvinken force-pushed the 321960-musicxml-beat-unit-master branch from c5cb07c to b03bbff Compare December 7, 2021 07:15
@Jojo-Schmitz
Copy link
Contributor

rebase needed

@lvinken
Copy link
Contributor Author

lvinken commented May 12, 2022

Will do

Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 12, 2022
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
@lvinken lvinken force-pushed the 321960-musicxml-beat-unit-master branch from b03bbff to 2d6f109 Compare May 25, 2022 05:43
QString unit;
findUnit(dur.type(), unit);
xml.tag("beat-unit", unit);
xml.tag("beat-unit", dur.name());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method doesn't exist (anymore?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently to be replaced by TConv::toXml().

…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.
@lvinken lvinken force-pushed the 321960-musicxml-beat-unit-master branch from 2d6f109 to 52f8a34 Compare May 26, 2022 07:22
@RomanPudashkin RomanPudashkin merged commit 21cf424 into musescore:master May 27, 2022
@lvinken lvinken deleted the 321960-musicxml-beat-unit-master branch May 27, 2022 14:09
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 2023
…port in .musicxml format

Caused by superfluous and incomplete findUnit() function in exportxml.cpp.

Backport of musescore#8793
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