Fermata over rest not exported to MusicXML
Ubuntu 14.04, GIT commit: 7fbf11f
1) new score
2) enter some notes and rests
3) enter a fermata over a rests
4) export to MusicXML
5) import the MusicXML file
Result: fermata is gone
Reported in discussion on music21 mailing list.
Comments
Issue is in the exporter, which (probably incorrectly) assumes articulations and ornaments can only be added to chords. Can easily be fixed.
One question remaining: which articulations and ornaments can be attached to a rest and should be exported ?
Looking at ChordRest::drop() and Rest::drop(), I'd say the various types of fermata (including LongFermata et al) are it for actual articulations or ornaments. See in particular:
https://github.com/musescore/MuseScore/blob/97324ae14b9cc97f53651d2b4cd…
Looks like Images and Symbols can be attached to rests as well, so of course there might be other things that could potentially be interpreted as articulations or ornaments, but I don't know that we need to provide semantics for those. And of course, there are other things (eg, text) that can be dropped on rests, but they end up being implemented as annotations on the segment.
Pull request #2186
Fixed in branch master, commit 7a3f45b76a
fix #59811 - Fermata over rest not exported to MusicXML
Fixed in branch 2.0.3, commit f913eb99f7
fix #59811 - Fermata over rest not exported to MusicXML
Automatically closed -- issue fixed for 2 weeks with no activity.