music-encoding/sample-encodings

Spurious dir in Bach_Ein_festeBurg.mei

craigsapp opened this issue · 0 comments

The encoding Bach_Ein_festeBurg.mei contains a spurious <dir> which should be removed:

<dir tstamp="3" place="above" staff="1">
<rend fontfam="serif"
fontsize="16"
fontstyle="italic"
halign="center">Worte: Martin Luther 1529 Quelle: Jos. Klug G.B. 1535</rend>
</dir>

                     <dir tstamp="3" place="above" staff="1">
                        <rend fontfam="serif"
                              fontsize="16"
                              fontstyle="italic"
                              halign="center">Worte: Martin Luther 1529 Quelle: Jos. Klug G.B. 1535</rend>
                     </dir>

This is left over from conversion from MusicXML from some music notation editor (which one is not mentioned in the <meiHead>) that either did not have page-oriented layout of text, or the encoder hacked the information by placing it as a text expression above the last measure on the first system. Here is the source PDF view:

screen shot 2017-09-30 at 6 57 12 pm

Note according to the MEI conversion that the text is centered above barline 4 rather than right justified at the end of the system as it is supposed to be.

This information should be stored in the <meiHead> and the <dir> removed, since reformatting the layout would place such a direction in the wrong place:

screen shot 2017-09-30 at 6 59 24 pm

[I do not see the source mentioned in the vast contents of <meiHead>, nor that the music was composed in 1529...]

Another small and moot point is that the <dir> text does not include an encoding of the line break between the Worte and Quellen lines (so not really a transcoding of the data since this is lost).