I just tried your example and Lilypond produced the following error messaages. Could it be due to my version of 2.18.2?
Parsing... TwoInstruments.ly:14:16: error: syntax error, unexpected UNSIGNED r8\p bol8 r8 8 % 4 TwoInstruments.ly:26:10: error: syntax error, unexpected UNSIGNED boh8\p 8 r8 8 % 1 TwoInstruments.ly:33:1: error: errors found, ignoring music expression On Thu, 2015-01-22 at 22:19 -0600, Cynthia Karl wrote: > > On Jan 22, 2015, at 6:06 PM, Rutger Hofman <rut...@cs.vu.nl> wrote: > > > > On 01/23/2015 12:28 AM, Cynthia Karl wrote: > >> I'm trying to duplicate the behavior shown in the next two images: > >> > >> The major things wrong with this output are: > >> > >> * the rests should be centered on their line, not above it > >> * there should be a full-measure rest on the lower line of measure 5 > >> * the 8th rest in beat 2 of measure 4 of upperMusic has disappeared, > >> presumable consumed by the corresponding quarter rest in lower music at > >> that time. > >> * I get the warning: 30: 5: warning: cannot resolve rest collision: > >> rest direction not set > >> 4 > >> r4 % 4 > >> > >> Can anyone give me a hint or two? Is a DrumStaff the wrong approach? ( > >> Maybe a couple of RhythmicStaffs would be better?) > > > > Using version 2.19.15. > > > > The rest positions are correct when you use \voiceOne for the upper line in > > stead of \stemUp, and \voiceTwo for the lower line in stead of \stemDown. > > Sadly, for full-measure rests in the upper line the result is incorrect. > > These must be positioned with \oneVoice. > > > > HTH > > I think that's going to help a lot. Thanks. > _______________________________________________ > 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