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
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 } >> }
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 } }
The same fragment using \skip
results in an empty page.
Program reference: SkipEvent, SkipMusic.
Read comments on this page, or
add one.
This page is for LilyPond-2.2.6 (stable-branch). |