I can write the following in the violinOne
part in LilyPond 2.18.2 and it produces a quarter note rest in a pickup measure followed by a measure with a half note rest and then a quarter note rest:
\version "2.18.2"
\language "english"
\header {
tagline = ""
title = "O Worship The King"
composer = "arr. Zack Macomber"
}
#(set-global-staff-size 17)
\paper {
indent = 2.0\cm
short-indent = 0.5\cm
}
global= {
\time 3/4 \tempo "Andante Moderato (c. 100 bpm)"
\key g \major
}
violinOne = \new Voice \relative c'' {
\set Staff.instrumentName = #"Violin 1 "
\partial 4 r | r2 r4
\bar "|."
}
violinTwo = \new Voice \relative c'' {
\set Staff.instrumentName = #"Violin 2 "
\partial 4 r | g g a
\bar "|."
}
viola = \new Voice \relative c' {
\set Staff.instrumentName = #"Viola "
\clef alto
\partial 4 d\mf | g g a
\bar "|."
}
cello = \new Voice \relative c {
\set Staff.instrumentName = #"Cello "
\clef bass
\partial 4 d\mf | g g a
\bar "|."
}
bass = \new Voice \relative c {
\set Staff.instrumentName = #"Bass "
\clef bass
\partial 4 d\mf | g g a
\bar "|."
}
\score {
\new StaffGroup <<
\new Staff << \global \violinOne >>
\new Staff << \global \violinTwo >>
\new Staff << \global \viola >>
\new Staff << \global \cello >>
\new Staff << \global \bass >>
>>
\layout { }
}
When I attempt to change r2 r4
to r2.
I get several messages stating warning: barcheck failed
and my PDF output is incorrect.
How am I supposed to write a dotted half note rest in 3/4 time in LilyPond?
2.19.81
. Perhaps it's something involving another spot in the score?r2.
.R2.
, notr2.
.R2.
in particular for the whole measure. I was actually having the same issue withR2.
as well.