Joran,

Perhaps

\version "2.19.81"

\new Staff <<
  \new Voice \relative {
    \voiceOne c''4 d
    b'2\rest
    r4 r
    b2\rest
   
  }
  \new Voice \relative {
    \voiceTwo e'4 f
    \override Rest.staff-position = -6
    r2
    \revert Rest.staff-position
    r4 r
    \override Rest.staff-position = -6
    r2
  }
>>

-----Original Message-----
From: lilypond-user
[mailto:[email protected]] On Behalf Of
Noeck
Sent: Sunday, September 09, 2018 10:28 AM
To: [email protected]
Subject: Re: Position of rests

A MWE would be:

\new Staff <<
  \new Voice \relative {
    \voiceOne c''4 d
    \override Rest.staff-position = 6
    r2
    \revert Rest.staff-position
    r4 r
    \override Rest.staff-position = 6
    r2
  }
  \new Voice \relative {
    \voiceTwo e'4 f
    \override Rest.staff-position = -6
    r2
    \revert Rest.staff-position
    r4 r
    \override Rest.staff-position = -6
    r2
  }
>>

That's what I can do with overrides (or I could use \once) but if I want to
do the same thing again depending on the note value, I am stuck.

Best,
Joram

_______________________________________________
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

Reply via email to