Thomas, Many thanks. In fact, all I had to do was to override the staff position of the MultiMeasureRest and it's now fine. Didn't have to change the voices at all. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com ------------------------- Saturday, May 11, 2013, 11:13:08 AM, you wrote: > 2013/5/11 Peter Toye <lilyp...@ptoye.com>: >> Thomas, >> >> Sorry - here it is. >> >> RestText= {e2\rest} >> >> OboePart= { >> >> \time 2/4 >> >> { >> << >> \relative c' >> { >> \repeat unfold 9 {\RestText }| >> } >> \new CueVoice >> \relative c'' >> { >> \stemUp >> r4 r8. a16 | c8. b16 c8 d | e4 e8. c16 | e8 r16 d d8 b | g4. g8 | >> c r16 c b8 a | g8. g16 g8 g | b4 a~ | a2| >> } >> >> >> >> } >> } >> >> >> Best regards, >> >> Peter
> Hi Peter, > thanks for the code, though, without version. ;) > 1) I don't like pitched rests, they will cause problems when transposing. > I'd recommend to use > \override Rest #'staff-position = ... > or > override MultiMeasureRest #'staff-position = ... > 2) To stop the warning use \voiceOne, \voiceTwo etc not \stemUp, \stemDown > My suggestion: > \version "2.16.2" > OboePart= { > \time 2/4 > { > << > \relative c' > { > \voiceTwo \repeat unfold 9 { > % maybe: > % \override MultiMeasureRest #'staff-position = #-2 > R2 > } | > } > \new CueVoice > \relative c'' > { > \voiceOne > % maybe: > %\override Rest #'staff-position = #0 > r4 r8. a16 | c8. b16 c8 d | e4 e8. c16 | e8 r16 d d8 b | g4. g8 | > c r16 c b8 a | g8. g16 g8 g | b4 a~ | a2| > } > >> > } > } > \new Staff \OboePart > HTH, > Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user