Node: Bar check, Next: , Previous: Octave check, Up: Easier music entry



Bar check

Bar checks help detect errors in the durations. A bar check is entered using the bar symbol, `|'. Whenever it is encountered during interpretation, it should fall on a measure boundary. If it does not, a warning is printed. Depending on the value of barCheckSynchronize, the beginning of the measure will be relocated.

In the next example, the second bar check will signal an error:

       \time 3/4 c2 e4 | g2 |
     

Failed bar checks are caused by entering incorrect durations. Incorrect durations often completely garble up the score, especially if it is polyphonic, so you should start correcting the score by scanning for failed bar checks and incorrect durations. To speed up this process, you can use skipTypesetting, described in the next section.


This page is for LilyPond-2.0.1 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.