lilypond-user
[Top][All Lists]
Advanced

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

Re: More "cannot resolve rest collision" warnings


From: Trevor Daniels
Subject: Re: More "cannot resolve rest collision" warnings
Date: Sun, 30 Dec 2012 20:19:06 -0000

Daniel, you wrote Sunday, December 30, 2012 8:04 PM


> In the example below, I'd like to use the music that appears after the 
> barline because it lines up the rests visually with their respective voices. 
> It looks exactly the way I want it to, but I'm getting this warning:
> 
> document.ly:6:7: warning: cannot resolve rest collision: rest direction not 
> set
>  g16[ 
>       f\rest f] |
> 
> How do I make this go away?

Take out the \\.  It is unnecessary when you are creating the Voice
contexts explicitly.  Have a look at this again:
http://www.lilypond.org/doc/v2.16/Documentation/notation/multiple-voices

Trevor

> %%% Begin example
> \version "2.16.1"
> 
> one = \relative c'''' {
>  \time 3/16
>  \voiceOne
>  g16[ r f] |
>  g16[ f\rest f] |
> }
> 
> two = \relative c''' {
>  \voiceTwo d16 r r |
>  \oneVoice d16 r r |
> }
> 
> <<
>  \new Voice { \one }
>  \\
>  \new Voice { \two }
>>>
> %%% End example
> 
> DR
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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