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: Gilles Sadowski
Subject: Re: Trouble with acciaccatura at the beginning of a piece
Date: Thu, 12 Jan 2012 14:17:29 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jan 12, 2012 at 02:03:19PM +0100, 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 
>       }

You have to "synchronize" this part too; i.e. probably add a "grace skip".

Regards,
Gilles

> 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.
> 
> Thanks in advance for your help. I am really looking forward to grasping 
> enough of this to convert everything to lilypond.
> 
> Cheers,
> 
> NL



reply via email to

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