I figured it out: it's the use of \oneVoice in the lower voice. The problem is solved by leaving it as \voiceTwo and explicitly specifying the rest positions like I'm already doing in the upper voice. A little tedious, but it works and it compiles error-free.
DR > -----Original Message----- > From: Daniel Rosen > Sent: Sunday, December 30, 2012 3:21 PM > To: 'Trevor Daniels'; [email protected] > Subject: RE: More "cannot resolve rest collision" warnings > > OK... but that doesn't fix my problem. I get the same thing when I use the > following: > > { > \new Staff << > \new Voice { \one } > \new Voice { \two } > >> > } > > DR > > > > -----Original Message----- > > From: Trevor Daniels [mailto:[email protected]] > > Sent: Sunday, December 30, 2012 3:19 PM > > To: Daniel Rosen; [email protected] > > Subject: Re: More "cannot resolve rest collision" warnings > > > > > > 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 > > > [email protected] > > > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
