lilypond-user
[Top][All Lists]
Advanced

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

LilyPond issue 34 question


From: Jacques Menu
Subject: LilyPond issue 34 question
Date: Wed, 26 Sep 2018 17:48:46 +0200

Hello folks,

This issue happens when a voice has grace notes ahead of the voices and the some other don’t.
The work around is to add grace notes ahead of the latter.

In the example below, I added such grace notes ahead of P_POne_Staff_One_Voice_One and P_POne_Staff_One_Voice_Two. 

Strangely enough, \grace { s128 } in P_POne_Staff_One_Voice_One produces a wider grace notes display than \grace { s4 }:

My question is: are there actual music scores containing voices with initial grace notes groups of different lengths?

Thanks for your help!

JM


%%%%%%%%%%%%


\version "2.19"

P_POne_Staff_One_Voice_One = \relative {
  \key a \major
  \numericTimeSignature \time 2/4
  \clef "treble"
  \grace { s128 } cis'''2 \arpeggio | % 1
}

P_POne_Staff_One_Voice_Two = \relative {
  \key a \major
   \numericTimeSignature \time 2/4
  \clef "treble"
  \grace { s16 s16 s16 } <cis'' e a >4 \arpeggio s4  | % 1
}

P_POne_Staff_Two_Voice_Three = \relative {
  \key a \major
  \numericTimeSignature \time 2/4
  \clef "bass"
  \grace { a,16 [ ( cis16 e16 ] } a8 [ ) a8 a8 a8
  ] |
}

\score {
  <<
    \new PianoStaff <<
      \set PianoStaff.instrumentName = "Piano"
      \set PianoStaff.connectArpeggios = ##t

      \new Staff = "P_POne_Staff_One" <<
        \context Voice = "P_POne_Staff_One_Voice_One" <<
          \voiceOne

          \P_POne_Staff_One_Voice_One
        >>
        \context Voice = "P_POne_Staff_One_Voice_Two" <<
          \voiceTwo

          \P_POne_Staff_One_Voice_Two
        >>
      >>

      \new Staff = "P_POne_Staff_Two" <<
        \context Voice = "P_POne_Staff_Two_Voice_Three" <<
          \P_POne_Staff_Two_Voice_Three
        >>
      >>
    >>
  >>

  \layout {}
  }
}

%%%%%%%%%%%%


reply via email to

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