[MusicXML Import] Beams are overridden
Reported version
3.3
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
When importing a MusicXML file, the beams are replaced using MuseScore's automatic beaming.
Is there a way to prevent automatic beaming when importing?
beams.musicxml should display as:
But instead displays as:
Attachment | Size |
---|---|
Screenshot from 2020-01-21 13-43-26.png | 4.28 KB |
Screenshot from 2020-01-21 13-42-43.png | 3.56 KB |
beams.musicxml | 2.42 KB |
Fix version
3.6.1
Comments
Related to #298438: No-beam information lost when importing from MusicXML and/or #36816: [MusicXML] import assumes beam=NONE if no beam information?
Relates to #270643: [EPIC] MusicXML import/export issues
Note that the example file you provide does not specify
supports element="beam" type="yes"
so it might be argued that beams might then be set to "auto".
However, currently MuseScore would produce the same result even with that "supports" setting.
Moreover, it seems that beams should not be set to "auto" on import as soon as a single "beam" element is found in a document.
This issue actually combines two separate problems with beam importing:
Notes without beams are not imported correctly (duplicate of #298438, for which I've created PR #7211)
Beam endings are not imported correctly (notes at end of beam are assigned Auto beam mode instead of Mid). A simple repro score is attached - try to export it to MusicXML and then re-import it, and you'll see the last note is imported without a beam (on MuseScore 3.6). I've submitted PR #7213 to fix this.
Tested commit bae7c62, it imports beams.musicxml with the first four notes beamed, which is still not the desired result. Screenshot and resulting MuseScore file attached. I think in this case the fourth note should have "no beam" instead of "auto".
To solve this issue you need to merge both my PRs (linked in post above) and then you will get the desired result as posted in the original post. I've tested it.
Fixed in branch 3.x, commit a8f37bad2b
_fix #299976: import MusicXML beam endings
Previously notes at the end of beams were imported with Auto beam mode.
They are now imported with the Mid mode instead (which means 'continue beam
from previous note')._
Automatically closed -- issue fixed for 2 weeks with no activity.