lilypond-user
[Top][All Lists]
Advanced

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

starting music with an acciaccatura


From: Orm Finnendahl
Subject: starting music with an acciaccatura
Date: Fri, 8 Oct 2010 18:17:21 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi all,

 starting a score with an \acciaccatura gives unintended results in
the following example on my machine:

\version "2.13.23"

\score {
  \new PianoStaff { <<
    \new Staff  { \clef G \acciaccatura { c'16[ c'16] } c'16-> r8. }
    \new Staff  { \clef bass c4 }
  >> }
  \layout {}
}

As the acciaccatura seems to be "before" the first beat, the \clef
command for the bottom staff is processed *after* the acciaccatura,
resulting in the bottom system being initialized with a G clef.

The following workaround works here, but that I find that rather
awkward:

\version "2.13.23"

\score {
  \new PianoStaff { <<
    \new Staff  { \clef G \acciaccatura { c'16[ c'16] } c'16-> r8. }
    \new Staff  { \clef bass \grace { s16 s16 } c4 }
  >> }
  \layout {}
}

Are there any better (cleaner) ways to do it?

Yours,
Orm



reply via email to

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