2.1.1 Bar checks

Though not strictly necessary, bar checks should be used in the input code to show where bar lines are expected to fall. They are entered using the bar symbol, |. With bar checks, the program can verify that you’ve entered durations that make each measure add up to the correct length. Bar checks also make your input code easier to read, since they help to keep things organized.

g1 | e1 | c2. c'4 | g4 c g e | c4 r r2 |

[image of music]

See also

Notation Reference: Bar and bar number checks.

Other languages: česky, deutsch, español, français, italiano, 日本語, nederlands.
About automatic language selection.

LilyPond — Learning Manual