Open rshura opened 6 years ago
The following exapmle has a grace note right before the first beat in bar 2.
\version "2.19.58" \include "oll-core/package.ily" \loadPackage lilypond-export music = \new Staff { e'4( d')\prall <c' e' g'>4(\prall <c' f' a'>) | \appoggiatura{g16} <c f' a'>4 r2. } opts.exporter = #exportMusicXML \score { \music \layout { \FileExport #opts } }
In the XML output, this note appears at the beginning of bar 1 instead of bar 2.
I saw some code in api.scm that changes the bar in some conditions, but I could not follow the logic.
If the grace note is in the middle of the measure then it stays where it should in XML. Only the beginning of the measure seems to be the issue.
The following exapmle has a grace note right before the first beat in bar 2.
In the XML output, this note appears at the beginning of bar 1 instead of bar 2.
I saw some code in api.scm that changes the bar in some conditions, but I could not follow the logic.
If the grace note is in the middle of the measure then it stays where it should in XML. Only the beginning of the measure seems to be the issue.