Fermata over rest not exported to MusicXML

• May 9, 2015 - 04:19
Priority
normal
Status
closed
Component
Code
Tags
Category
bug report
Project

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.