Hi, I think this question should be posted on the lilypond user list. One trick I use to achieve that is by using \voiceOne and \oneVoice and use skips on the other voice instead of rests. \voiceOne and \voiceTwo instruct lily to display two separate voices for your soprano and altomelody. \oneVoice changes the behavior to the 'normal' way of displayng, so th rests are placed on their normal position.
BTW: Which lilypond version are you using? Bye, Ruud van Silfhout ----- Original Message ----- From: "P Scott Horne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 06, 2004 5:56 AM Subject: [Mutopia-discuss] Merging rests in single-staff polyphony > In a song with a short polyphonic section at the end, I wrote something like > this: > > << { f g } \\ { d e } >> r4 << { a b } \\ { f g } >> > > It worked as expected, giving a single rest appropriately centred on the > staff. This approach seemed more sensible than defining separate Voice > contexts for just a few measures. > > Unfortunately, the alignment of lyrics came out wrong; the lyrics for each > notehead were all pushed off somewhat to the right. To solve that problem, > I gave up and created two voices, as follows, so that I could associate the > lyrics with a single voice: > > \context Staff = melody > << > \time 4/4 > \clef treble > > \context Voice = melodysoprano { \voiceOne \melodysoprano } > \context Voice = melodyalto { \voiceTwo \melodyalto } > >> > > The voice "melodysoprano" includes the entire unison part at the beginning > and the upper part in the closing polyphonic section. The voice > "melodyalto" starts with "s1*18" (skip ahead eighteen measures) and then > gives the notes for the lower part of the polyphony. > > This, together with a single "\lyricsto" instruction for all five lines of > lyrics, corrects the spacing. But the rests in the polyphonic section are > doubled (one atop the other), and those in the monophonic section are raised > to the top line of the staff. Also, all the stems and slurs point up. > > How can I indicate that parts of this staff are monophonic and should be set > as such? > > Scott Horne > > > > _______________________________________________ > Mutopia-discuss mailing list > [EMAIL PROTECTED] > http://lists.blackcatnetworks.co.uk/cgi-bin/mailman/listinfo/mutopia-discuss _______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user