"R" does indicate that the "symbol" to be used is independent from that actual duration, but you still have to supply the length of it. I know that may be somewhat confusing.

If you don't specify a duration for the first note LilyPond will implicitly use a quarter note (i.e. "c" will be treated as "c4", so in your example LilyPond thinks you meant "R4" and complains at the barcheck. You have to write "R1" in your example (and of course consider that the next note/rest you enter will be considered having length "1" if you don't specify otherwise.

HTH
Urs

Am 15.04.2013 12:13, schrieb Peter Toye:
Barcheck problems in extremely simple file Another newbie alert!

I'm getting barcheck problems when putting in full bar rests and can't work out why. The file's very simple:

\version "2.16.2"  % necessary for upgrading to future LilyPond versions.

\language "english"

<<

\new Staff
  { \clef "treble" \key f \minor \time 4/4 \relative c''
    {  R |

    }
  }

>>

But I get a load of errors:

/# -*-compilation-*-
Processing `D:/Peter/Music/Lilypond/Warlock3.ly'
Parsing...
Interpreting music...
D:/Peter/Music/Lilypond/Warlock3.ly:9:6: warning: barcheck failed at: 1/4
    {
R | D:/Peter/Music/Lilypond/Warlock3.ly:16:6: warning: barcheck failed at: 1/4
    {
      R |  Preprocessing graphical objects...
programming error: Multi_measure_rest::get_rods (): I am not spanned!
continuing, cross fingers
programming error: Object is not a markup.
continuing, cross fingers
programming error: Multi_measure_rest::get_rods (): I am not spanned!
continuing, cross fingers
programming error: Multi_measure_rest::get_rods (): I am not spanned!
continuing, cross fingers
programming error: Object is not a markup.
continuing, cross fingers
programming error: Multi_measure_rest::get_rods (): I am not spanned!
continuing, cross fingers
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...


/Where do I go from here please?


Regards,

Peter
mailto:[email protected]
www.ptoye.com <http://www.ptoye.com>


_______________________________________________
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