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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to