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

fix #318085: [MusicXML export] figuredBass xml export (multiple figur… #9730

Merged

Conversation

lvinken
Copy link
Contributor

@lvinken lvinken commented Nov 12, 2021

…es per note)

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

When figured bass elements have a duration shorter than the shortest note, they are exported to MusicXML with duration zero. Caused by function ExportMusicXml::calcDivisions(), which does not seem to take figured bass duration into account when calculating the divisions value. Added figured bass handling to calcDivisions().

  • 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 Nov 13, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 13, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 23, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 24, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 28, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 28, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 30, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 7, 2021
@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
@lvinken lvinken force-pushed the 318085-multiple-figures-master branch 2 times, most recently from f1f56ef to 702fdb3 Compare May 24, 2022 06:07
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.1 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
Copy link
Contributor

Choose a reason for hiding this comment

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

For the unit test to pass ;-)

<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 4.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="4.0">

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, indeed I forgot to update that file.

@lvinken lvinken force-pushed the 318085-multiple-figures-master branch from 702fdb3 to 0d05036 Compare May 24, 2022 20:31
@RomanPudashkin
Copy link
Contributor

Please rebase your PR to the latest master

@lvinken lvinken force-pushed the 318085-multiple-figures-master branch from 0d05036 to 5a9ea42 Compare May 27, 2022 11:21
@lvinken
Copy link
Contributor Author

lvinken commented May 27, 2022

Rebase done

@RomanPudashkin RomanPudashkin merged commit f9c0e31 into musescore:master May 27, 2022
@lvinken lvinken deleted the 318085-multiple-figures-master branch May 27, 2022 13:58
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 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.

None yet

3 participants