Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grace notes at moment 0 somehow end up in the previous bar #14

Open
rshura opened this issue Oct 28, 2018 · 0 comments
Open

Grace notes at moment 0 somehow end up in the previous bar #14

rshura opened this issue Oct 28, 2018 · 0 comments

Comments

@rshura
Copy link

rshura commented Oct 28, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant