[Musicxml Export] - Missing spanners caused by spanner stop not in the first track
Hello,
I just finished transcribing this piece. Since I can't reproduce the problem snippet myself, I have to attach all the score. Generally, I found lots of hairpins missing when exporting to Musicxml. For example, (below I count from the first complete measure), m8-9, there are lots of missing hairpins when using the fixed Musescore 3 file, including some woodwinds, horns and strings. When I use the old Musescore 2 file, the hairpins are there. I export both scores using Musescore 3.3 rc, and the problem is the same. I checked the Musescore file code, and both files don't hide such hairpins in these measures. I suspect all braille scores I have published may be effected by this strange problem, and for this work, I have to check the braille bar by bar using the old file. What's wrong with the export? Thank you in advance!
Regards
Haipeng
Attachment | Size |
---|---|
Wieland Der Schmied.mscz | 526.33 KB |
Wieland Der Schmied.mxl | 893.25 KB |
Wieland_Der_Schmied (Musescore 2).mscz | 639.91 KB |
Wieland_Der_Schmied (Musescore 2).mxl | 949.68 KB |
Comments
I can confirm the missing hairpins after opening the MSCZ file, exporting to MusicXML, then reimporting that. Specifically, I checked the clarinet hairpins in bars 8-9 as notated (9-10 as per the internal measure numbering), I'm would bet whatever others are missing, the cause it the same.
Yes, without re-importing, by looking into the Musicxml code, I can confirm there are lots of such missing hairpins.
I just tried again, and its strange that exporting as parts doesn't generate this problem. But now I found this problem happens in some scores, but not in others. For example, I want to transcribe this into braille:
https://musescore.com/user/2749876/scores/5672184
But just now I found all hairpins after part 5 disappeared in Musicxml. I went back to Wieland score, and found all hairpins disappear from part 4 on. However, all hairpins are exported in Beethoven's 9th symphony. So it's a puzzle for me, and I don't know when it happens. Now I have give up all Musescore-related braille transcription in case I'll do harm to blind musicians. The only solution is, I have to export all staves into parts and compare them one by one, bar by bar, with the braille full score--What a terrible work if there are 40-50 parts! I'm wondering why the hairpins in lower parts can't be exported.
Haipeng
So for an easier implementation, please take the Rhapsodie movement 1 as an example, the file is smaller.
I found the culprit, and it has different relation. Close this one.
Oh, don't close, this is still the issue. I found other scores without irregular bars having this problem. I just transcribed Dvorak's cello concerto and published on my site. Big failure, and misleading to blidnd musicians!
Haipeng
Ok, here's another example chopped to the shortest I can do. The 3 versions contain the same music with 2 or 4 bars deleted, and The deletion of some bars will make hairpins of some parts appear, at last to fully exported in 20 parts. I really can't find any reason for these strange behavior. The only reason I think is, Musescore can't export hairpins more than a certain amount. Am I right?
Haipeng
Sorry for too many posts today, but I'm really very anxious and frustrated with this issue, which almost makes me break down all works but simple piano and violin pieces.
In reply to Sorry for too many posts… by hhpmusic
Will try to fix this as soon as possible, but will be unable to do so for at least a few days. Realistically do not expect a solution (pull request) within at least a week.
Thank you, and I'll now do some easier pieces.
It seems that I have found the culprit. Please see the attached clarinet part of Ravel. The hairpins in the cadenza section have their ending clearly stated in the original Musescore file, but are all lost in Musicxml export, which ends up with an exhausted use of the wedges. So there are two points:
1. Please solve the missing ending problem;
2. We should raise the exhausted levels to a higher amount, in case there are cases a staff has lots of special lines occupying more than 6 levels. I met a Sibelius file where the piano solo part has 12 levels of slurs because of its complicated cross-staff phrases, so I have to manually modify the Dolet plugin to export up to 24 levels of slurs, ties and wedges.
Haipeng
Pull request created, see: https://github.com/musescore/MuseScore/pull/5423.
Root cause is that spanners (hairpins, ottavas, pedals and textiles) are not stopped when the stop is associated with a note in track 2, 3 or 4. This results in the list of currently open spanners in the export filling up completely, meaning no more spanners can be exported.
Please note that increasing the maximum number of open spanners leads to invalid MusicXML, so I am somewhat reluctant to do that. See http://usermanuals.musicxml.com/MusicXML/MusicXML.htm#ST-MusicXML-numbe…. Suggest you open a separate issue for that, where we collect the relevant info. I would like to know how this affects interoperability, but can only test Finale Notepad.
Thank you very much! I'll raise this request of limitation increase on W3C Music Notation Community Group's Musicxml 3.2 issues.
That would indeed be the correct approach to get this issue addressed. If the maximum numbers are increased in MusicXML, it is trivial to update MuseScore.
Ok. Now I'm waiting for the merge, so that I can continue working on Ravel and Dvorak. Thank you again!
Haipeng
Fixed in branch master, commit b096b42605
fix #295348 - [Musicxml Export] - Strange Missing Hairpins
Fixed in branch master, commit a737b4e0d8
_Merge pull request #5423 from lvinken/295348-musicxml-missing-hairpins
fix #295348 - [Musicxml Export] - Strange Missing Hairpins_
(believing the set milestone)
Automatically closed -- issue fixed for 2 weeks with no activity.
As I'm working on Rachmaninoff's first piano concerto:
https://musescore.com/user/19250441/scores/6407987
I suddenly found this issue happens again. All hairpin disappear from piano bar 147 of movement 1 on, through all strings. I discovered this only until I'm at the beginning of movement 2, and I have no way to continue, and the back-check is a nightmare, since Musicxml doesn't give me chance to export extra hairpins even when I remove all other staves leaving piano. The hairpin then stops to export at bar 23 of movement 2 if piano alone. Very strange! Now I have to turn to other score waiting for this solution.
Please open a new issue then (possible referencing this one here), along with the score and steps to reproduce
Relates to #270643: [EPIC] MusicXML import/export issues and the the new issue #312714: [Musicxml Export] - Hairpin export stops halfway