lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grace + repeat result in an extra error measure


From: Aaron Hill
Subject: Re: Grace + repeat result in an extra error measure
Date: Sat, 28 Mar 2020 02:01:30 -0700
User-agent: Roundcube Webmail/1.4.2

On 2020-03-28 12:30 am, k.l. wrote:
<<\context Staff = "1" <<\relative g' {     { c1 }    \repeat volta 2 {
\appoggiatura g32 g8 ( [ f8 e8 f8 ] r2 }}>> \context Staff = "2"
<< \relative e' {    {  g1 }   \repeat volta 2 {  g1   }}>>>>
<http://lilypond.1069038.n5.nabble.com/file/t5885/download_%282%29.png> But
if single staff, no repeat or single measure, the result is right:
<http://lilypond.1069038.n5.nabble.com/file/t5885/download_%283%29.png>
<http://lilypond.1069038.n5.nabble.com/file/t5885/download_%284%29.png>
<http://lilypond.1069038.n5.nabble.com/file/t5885/download_%285%29.png>

This seems to be related to issues where multiple staves need to share the same grace timing.

Adding \grace s32 to the second staff fixes the issue:

%%%%
\version "2.18.2"

<<
  \context Staff = "1" <<
    \relative g' {
      { c1 }
      \repeat volta 2 {
        \appoggiatura g32
        g8 [ f8 e8 f8 ] r2
      }
    }
  >>
  \context Staff = "2" <<
    \relative e' {
      { g1 }
      \repeat volta 2 {
        \grace s32 % <==
        g1
      }
    }
  >>

%%%%

-- Aaron Hill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]