musescore / musescore/MuseScore
Hairpins not starting or ending on notes get lost in MEI
Open
Nobody has claimed this yet.
community
MEI
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Import/export issue
Description with steps to reproduce
- Add hairpins
- move start or end to a tick away from the note
- export to MEI
- load the exported file
Supporting files, videos and screenshots
What is the latest version of MuseScore Studio where this issue is present?
4.5.2
Regression
No.
Operating system
macOS 15
Additional context
- Spanners starting on notes but not ending on notes get exported, but miss their end points.
- Same behavior for all text lines
Expected behavior would be to export spanners with @tstamp and @tstamp2 attributes rather than @startid and @endid.
Checklist
- This report follows the guidelines for reporting bugs and issues
- I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
- I have attached all requested files and information to this report
- I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by creating hairpins or text lines whose endpoints fall a tick away from notes, then export and reload the MEI file. Inspect the MEI export path for spanners and compare how endpoint-based and timestamp-based positions are written; done means both start and end positions survive the export and reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100