lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertically center rests in polyphonic voices


From: William Rehwinkel
Subject: Re: vertically center rests in polyphonic voices
Date: Thu, 10 Aug 2023 20:42:27 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

Dear Jin,

You can write <pitch>4\rest instead of r4 to specify what "pitch" (vertical position) the rest should appear at. You should write the note that is the middle line of the staff for it to appear like a \oneVoice rest. So

\version "2.25.6"

upper = \relative c'' {
  \new Voice {
    \voiceOne c4 b4\rest c4 b4\rest
  }
  \new Voice {
    \voiceTwo c4 b4\rest c4 b4\rest
  }
}
\new Staff = "upper" \upper


Thanks,
-William

On 8/10/23 20:27, Jin Choi wrote:
\version "2.24.1"

upper = \relative c'' {
  \new Voice {
    \voiceOne c4 r4 c4 r4
  }
  \new Voice {
    \voiceTwo c4 r4 c4 r4
  }
}
\new Staff = "upper" \upper

-- 
+ ------------------------------------------- +
|   William Rehwinkel - Oberlin College and   |
|                          Conservatory '24   |
|        william@williamrehwinkel.net         |
| PGP key:                                    |
| https://ftp.williamrehwinkel.net/pubkey.txt |
+ ------------------------------------------- +

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]