lilypond-user
[Top][All Lists]
Advanced

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

Re: Trouble with acciaccatura at the beginning of a piece


From: -Eluze
Subject: Re: Trouble with acciaccatura at the beginning of a piece
Date: Thu, 12 Jan 2012 05:17:45 -0800 (PST)


Ninn Langel wrote:
> 
> Hi everyone,
> 
> I'm just getting started with lilypond, but I do have some programming
> knowledge.
> 
> I'm having trouble with this input:
> 
> \version "2.15.24"
> \include "english.ly"
> 
> global = {
>       \time 2/4
>       \key d \major
>       }
> 
> bassPart = \relative c' {
>       \clef bass
>       r4 a16 a a a
>       a a a a a a a a 
>       }
> 
> pianoRight = \relative c'' {
>       \acciaccatura gs8 a8 r a,4~
>       a r
>       }
> 
> 
> pianoLeft = \relative c {
>       \clef bass
>       \acciaccatura gs8 a8 r a,4~
>       a r
>       }
> 
> \score {
>       <<
>       \new Staff << \global \bassPart >>
>     \new PianoStaff <<
>       \new Staff << \global \pianoRight >>
>               \new Staff << \global \pianoLeft >>
>       >>
>       >>
>       \layout { }
> }
> 
> Which renders with two sets of clefs with the acciaccaturas in between. I
> am aware that there is documentation about this, but I have not been able
> to understand the problem after hours of trying - clearly it relates to
> starting with the acciaccaturas, but I have not found a solution.
> 
> 

known bug!

a solution is to add an ornament to the staves which have none, too:

bassPart = \relative c' {
  \clef bass
  \grace s8 r4 a16 a a a
  a a a a a a a a
}

hth
Eluze
-- 
View this message in context: 
http://old.nabble.com/Trouble-with-acciaccatura-at-the-beginning-of-a-piece-tp33127570p33127642.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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