bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bug supposed with grace notes in pickup-bars


From: Graham Percival
Subject: Re: Bug supposed with grace notes in pickup-bars
Date: Tue, 28 Apr 2009 23:19:02 +0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Apr 28, 2009 at 04:39:44PM +0200, Reinhold Kainhofer wrote:
> On Dienstag, 28. April 2009 15:44:36 Graham Percival wrote:
> > Please try to shorten it and re-send it.
> 
> Okay, here's your 5-line snippet:
> 
> %%%%%%%%%%%%% BEGIN
> global = { \time 6/8 \key es \major 
> %  \partial 8*3 \grace {s8} 
> }

Technically the \key es \major isn't necessary, is it?  ;)

> ViolineEins = \relative c'{ \partial 8*3 \grace {d8} c8 d e }
> \score {
>   \new Staff { << \global \ViolineEins >> }
> }
> %%%%%%%%%%%%% END
> 
> 
> Apparently the problem is << \global \ViolineEins >>, which means that two 
> parallel voices are generate (\global is the contents of the first, 
> \ViolineEins is the content of the second)! Now, the probelm boils down to 
> the 
> usual problem of grace notes and parallel voices: the \global does not have 
> the \grace{s8}, so the timing is wrong and things are messed up.

Thanks, that's much easier to see in this short example.

> The proper solution is to remove the << and >> from the \new Staff, since 
> there is no need to have them in parallel.

Yes and no; some people like to put \mark default in the \global
section, which *would* require the << >>.  I think that adding the
\partial to \global is a better solution.

Cheers,
- Graham




reply via email to

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