Next: , Previous: Rests, Up: Note entry



3.1.6 Skips

An invisible rest (also called a `skip') can be entered like a note with note name `s' or with \skip duration

     a2 s4 a4 \skip 1 a4

[image of music]

The s syntax is only available in note mode and chord mode. In other situations, you should use the \skip command

     \score {
       \new Staff <<
         { \time 4/8 \skip 2 \time 4/4 }
         \notes\relative c'' { a2 a1 }
       >>
     }

[image of music]

The skip command is merely an empty musical placeholder. It does not produce any output, not even transparent output.

The s skip command does create Staff and Voice when necessary, similar to note and rest commands. For example, the following results in an empty staff.

     \score { \notes { s4 } }

[image of music]

The same fragment using \skip results in an empty page.

See also

Program reference: SkipEvent, SkipMusic.

Read comments on this page, or add one.

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

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