Next: , Previous: Rests, Up: Writing rests


1.2.2.2 Invisible rests

An invisible rest (also called a ‘spacer rest’) can be entered like a note with the note name s:

     
     c4 c s c
     s2 c

[image of music]

Spacer rests are available only in note mode and chord mode. In other situations, for example, when entering lyrics, \skip is used to skip a musical moment. \skip requires an explicit duration.

     
     <<
       {
         a2 \skip2 a2 a2
       }
       \new Lyrics {
         \lyricmode {
           foo2 \skip 1 bla2
         }
       }
     >>

[image of music]

A spacer rest implicitly causes Staff and Voice contexts to be created if none exist, just like notes and rests do:

     
     s1 s s

[image of music]

\skip simply skips musical time; it creates no output of any kind.

     
     % This is valid input, but does nothing
     \skip 1 \skip1 \skip 1

[image of music]

See also

Snippets: Rhythms.

Internals Reference: SkipMusic

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.